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