WebGLShaderManager Class
Constructor
WebGLShaderManager
(
private
-
gl
Parameters:
-
gl
WebGLContextthe current WebGL drawing context
Item Index
Methods
Methods
destroy
()
Destroys
setAttribs
(
-
attribs
Takes the attributes given in parameters
Parameters:
-
attribs
Arrayattribs
setContext
(
-
gl
-
transparent
Initialises the context and the properties
Parameters:
-
gl
WebGLContextthe current WebGL drawing context
-
transparent
BooleanWhether or not the drawing context should be transparent