new PIXI.ShaderManager(renderer)
| Name | Type | Description |
|---|---|---|
renderer |
PIXI.WebGLRenderer |
The renderer this manager works for. |
Extends
Members
-
attribStateArray.<any>
-
-
maxAttibsnumber
-
-
rendererPIXI.WebGLRenderer
-
The renderer this manager works for.
-
stackArray.<any>
-
-
tempAttribStateArray.<any>
-
Methods
-
Destroys this object.
-
onContextChange()
-
Called when there is a WebGL context change.
-
setAttribs(attribs)
-
Takes the attributes given in parameters and uploads them.
Name Type Description attribsArray.<any> attribs
-
setShader(shader)
-
Sets the current shader.
Name Type Description shaderPIXI.Shader the shader to upload