Creates new ClearScreenProgram
the rendering context in which to create this shader
blend mode for this shader
Destroys all webgl resources
Returns the location of a uniform or attribute.
Locations are cached
name of the variable
if true then name is assumed to be an attribute
Returns the index of a texture. Assigns id if not already assigned.
name of the texture
Runs the shader program
the texture set in which the rendering will be made
an object containing values for variables specified in the bindings
the blendMode for this render
blendValue when blendMode is ADJUSTABLE
Binds an attribute buffer and sets up vertex pointer
name of the attribute
buffer to be bound
size of values
type of values
enables normalization for integers
array value stride
offset of first value
Binds given buffer as the ELEMENT_ARRAY_BUFFER
buffer to be bound as index
Binds value of a uniform variable in this program.
name of the uniforma variable
type of the value
value(s) to be bound
A Shader program the clears the screen to a given color