GLSLSimulationShader
Constants
- WRITE_WHITE_FRAGMENT_SHADER :
string
Fragment shader is there to satisfy requirement of 2 shaders to compile shader program in WebGL, in actuality it is unused
Functions
- addLineNumbers(string) ⇒
string
- getShaderErrors(gl, shader, type) ⇒
string
WRITE_WHITE_FRAGMENT_SHADER : string
Fragment shader is there to satisfy requirement of 2 shaders to compile shader program in WebGL, in actuality it is unused
Kind: global constant
addLineNumbers(string) ⇒ string
Kind: global function
Param | Type |
---|---|
string | string |
getShaderErrors(gl, shader, type) ⇒ string
Kind: global function
Param | Type |
---|---|
gl | WebGLRenderingContext | WebGL2RenderingContext |
shader | |
type |