- <init>
creates a Glsl100ShaderGenerator
- appendIndent
appends indentation.
- appendOutput
Appends an output assignment to a shader globalOutputName = nameSpace_varName;
- comment
Appends a comment to the generated code
- declareGlobalPosition
declare and assign the global position in the vertex shader.
- declareVariable
declares a variable, embed in a conditional block if needed.
- declareVarying
Declares a varying
- endCondition
Ends a conditional block
- fixInPositionType
makes sure inPosition attribute is of type vec3 or vec4
- generateUniforms
declare a list of uniforms
- getAppendableNameSpace
returns the name space to append for a variable. Attributes, WorldParam and
MatParam names space mus
- indent
increase indentation with a check so that indentation is never over 10