Package com.jme3.shader
Class Glsl300ShaderGenerator
java.lang.Object
com.jme3.shader.ShaderGenerator
com.jme3.shader.Glsl100ShaderGenerator
com.jme3.shader.Glsl150ShaderGenerator
com.jme3.shader.Glsl300ShaderGenerator
This shader Generator can generate Vertex and Fragment shaders from
 ShaderNodes for GLESSL 3.0
 Nowadays it's just a subclass of Glsl150ShaderGenerator overriding the version
 string because GLSL 1.5 is mostly compatible with GLESSL 3.0
- 
Field SummaryFields inherited from class com.jme3.shader.Glsl100ShaderGeneratorinPosTmpFields inherited from class com.jme3.shader.ShaderGeneratorassetManager, indent, NAME_SPACE_GLOBAL, NAME_SPACE_MAT_PARAM, NAME_SPACE_VERTEX_ATTRIBUTE, NAME_SPACE_WORLD_PARAM, techniqueDef
- 
Constructor SummaryConstructorsConstructorDescriptionGlsl300ShaderGenerator(AssetManager assetManager) Creates a Glsl300ShaderGenerator
- 
Method SummaryModifier and TypeMethodDescriptionprotected Stringreturns the language + version of the shader should be something like "GLSL100" for glsl 1.0 "GLSL150" for glsl 1.5.Methods inherited from class com.jme3.shader.Glsl150ShaderGeneratordeclareAttribute, declareVarying, generateEndOfMainSection, generateStartOfMainSection, generateUniforms, initVariableMethods inherited from class com.jme3.shader.Glsl100ShaderGeneratorappendIndent, appendOutput, comment, declareGlobalPosition, declareVariable, declareVariable, declareVariable, declareVariable, declareVariable, endCondition, fixInPositionType, generateAttributes, generateDeclarativeSection, generateNodeMainSection, generateUniforms, generateVaryings, getAppendableNameSpace, indent, isVarying, isWorldOrMaterialParam, map, replace, replaceVariableName, startCondition, unIndent, updateDefinesNameMethods inherited from class com.jme3.shader.ShaderGeneratorappendNodeDeclarationAndMain, buildShader, findShaderIndexFromVersion, generateDeclarationAndMainBody, generateShader, initialize
- 
Constructor Details- 
Glsl300ShaderGeneratorCreates a Glsl300ShaderGenerator- Parameters:
- assetManager- the assetmanager
 
 
- 
- 
Method Details- 
getLanguageAndVersionDescription copied from class:ShaderGeneratorreturns the language + version of the shader should be something like "GLSL100" for glsl 1.0 "GLSL150" for glsl 1.5.- Overrides:
- getLanguageAndVersionin class- Glsl150ShaderGenerator
- Parameters:
- type- the shader type for which the version should be returned.
- Returns:
- the shaderLanguage and version.
 
 
-