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