new StripShader(gl)
Parameters:
Name | Type | Description |
---|---|---|
gl |
WebGLContext | the current WebGL drawing context |
Members
-
fragmentSrc : Array
-
The fragment shader.
Type:
- Array
-
fragmentSrc : Array
-
The fragment shader.
Type:
- Array
-
gl : WebGLContext
-
Type:
- WebGLContext
-
program : Any
-
The WebGL program.
Type:
- Any
-
vertexSrc : Array
-
The vertex shader.
Type:
- Array
Methods
-
destroy()
-
Destroys the shader.
-
init()
-
Initialises the shader.