Creates a new program.
Flag set true when this program has been successfully allocated.
Map of all attributes in this program.
Flag set true when this program has been successfully conpiled.
List of compilation errors for this program, if any.
The fragment shader.
Handle to the WebGL program itself, which resides on the GPU.
Unique ID of this program.
Flag set true when this program has been successfully linked.
Map of all samplers in this program.
The source code from which the shaders are built.
Map of all uniforms in this program.
Flag set true when program has been validated.
The vertex shader.
Binds this program.
Destroys this program.
Gets the location of the given uniform within this program.
Gets a sampler within this program.
Initializes this program.
Rebuilds the program after WebGL context has been restored.
Represents a WebGL2 program.