Documentation
¶
Overview ¶
Package shader shaderprogram.go Defines a shader type that will be used by opengl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shader ¶
type Shader uint32
Shader used to interact with an opengl shader.
func CreateShader ¶
CreateShader used to create a shader from the given source.
func (*Shader) BindFragDataLocation ¶
BindFragDataLocation Sets the variable from which the fragment shader draws its result.
func (*Shader) GetAttributeLocation ¶
GetAttributeLocation Gets the location of the variable name in the shader.
func (*Shader) GetUniformLocation ¶
GetUniformLocation Gets the location of the uniform variable name in the shader.
Click to show internal directories.
Click to hide internal directories.