new ComplexPrimitiveShader(gl)
Parameters
Name | Type | Description |
---|---|---|
gl |
WebGLContext | the current WebGL drawing context |
- Source code: pixi/renderers/webgl/shaders/ComplexPrimitiveShader.js, line 5
Public Properties
-
fragmentSrc : Array
-
The fragment shader.
-
gl :WebGLContext
-
program : Object
-
The WebGL program.
-
vertexSrc : Array
-
The vertex shader.
Public Methods
-
destroy()
-
Destroys the shader.
-
init()
-
Initialises the shader.