Skip to main content

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

ParamType
stringstring

getShaderErrors(gl, shader, type) ⇒ string

Kind: global function

ParamType
glWebGLRenderingContext | WebGL2RenderingContext
shader
type