WebGLShaderManager Class
Constructor
WebGLShaderManager
()
private
Item Index
Methods
Properties
Methods
destroy
()
Destroys this object.
setAttribs
(
-
attribs
Takes the attributes given in parameters.
Parameters:
-
attribs
Arrayattribs
setContext
(
-
gl
Initialises the context and the properties.
Parameters:
-
gl
WebGLContextthe current WebGL drawing context
setShader
(
-
shader
Sets the current shader.
Parameters:
-
shader
Any