ShaderOptions
Index
Properties
fragmentSource
gl
WebGL2RenderingContext this layout will be attached to, these cannot be reused across webgl contexts.
optionalonPostCompile
Type declaration
Parameters
shader: Shader
Returns void
optionalonPreLink
Type declaration
Parameters
program: WebGLProgram
Returns void
vertexSource
Vertex shader source code in glsl #version 300 es
Fragment shader source code in glsl #version 300 es