Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIShaderProgram ¶
Types ¶
type ShaderProgram ¶
type ShaderProgram struct { *Shader.ShaderProgramCore ShadowShader ShadowMapping.ShaderComponent MaterialShader Material.ShaderProgram }
func NewShaderProgram ¶
func NewShaderProgram(vertexShaderFiles []string, fragmentShaderFiles []string, geometryShaderFiles []string) (*ShaderProgram, error)
func (*ShaderProgram) BindObject ¶
func (program *ShaderProgram) BindObject(i interface{}) error
func (*ShaderProgram) GetUniformAddress ¶
func (program *ShaderProgram) GetUniformAddress(i interface{}) (string, error)
Click to show internal directories.
Click to hide internal directories.