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