new PixiFastShader(gl)
Parameters:
Name | Type | Description |
---|---|---|
gl |
WebGLContext | the current WebGL drawing context |
Members
-
fragmentSrc :Array
-
The fragment shader.
-
gl :WebGLContext
-
program :Object
-
The WebGL program.
-
textureCount :Number
-
A local texture counter for multi-texture shaders.
-
vertexSrc :Array
-
The vertex shader.
Methods
-
destroy()
-
Destroys the shader.
-
init()
-
Initialises the shader.