Variable naming convention variable prefixes for GLSL code gen.
Defaults:
a_
v_
u_
o_
WebGL extension config for code generation. Keys in this object are extension names and their values specify the desired behavior. Boolean values will be translated in "enable" / "disable".
Fragment shader GLSL source code.
Flag to indicate code generation for attribs, varying, uniforms and outputs. Default: true.
WebGL2 only. Fragment shader output variable type declarations. Default: { fragColor: GLSL.vec4 }
Optional source code to be appended after main shader code.
Optional prelude source, prepended before main shader code, the default prelude (unless disabled) and any other generated code.
If true, disables default prelude. Default: false
Optional shader drawing state flags. Default: none.
Uniform type declarations with optional defaults.
Varying type declarations.
Vertex shader GLSL source code.
Generated using TypeDoc
Attribute type declarations.