Gets the name of the shader.
string
Creates a WebGL program using the shaders given.
void
Destroys the shader.
void
Detects the attributes in the WebGL shaders.
void
Detects the uniforms in the WebGL shaders.
void
Gets the attribute location of the shader.
number
Gets the uniform location of the shader.
WebGLUniformLocation
Loads the vertex and fragment sources given.
void
Loads the shader from source and by the type.
WebGL constant (VERTEX_SHADER or FRAGMENT_SHADER)
WebGLShader
Uses this shader in the program.
void
Generated using TypeDoc
Class constructor.