- appendNodeDeclarationAndMain
Appends declaration and main part of a node to the shader declaration and main
part. the loadedSourc
- findShaderIndexFromVersion
returns the shaderpath index according to the version of the generator. This
allow to select the hig
- generateAttributes
generates the attributes declaration for the vertex shader. There is no Shader
type passed here as a
- generateDeclarationAndMainBody
iterates through shader nodes to load them and generate the shader declaration
part and main body ex
- generateDeclarativeSection
Appends the given shaderNode declarative part to the shader declarative part. If
needed the shader t
- generateEndOfMainSection
generates the end of the shader main section. this method is responsible of
appending the last "}" i
- generateNodeMainSection
Appends the given shaderNode main part to the shader declarative part. If needed
the shader type can
- generateShader
Generate vertex and fragment shaders for the given technique
- generateStartOfMainSection
generates the start of the shader main section. this method is responsible of
appending the "void ma
- generateUniforms
generates the uniforms declaration for a shader of the given type.
- generateVaryings
generates the varyings for the given shader type shader. Note that varyings are
deprecated in glsl 1
- getLanguageAndVersion
returns the language + version of the shader should be something like "GLSL100"
for glsl 1.0 "GLSL15