java.lang.Object
de.grogra.glsl.utility.GLSLShader
de.grogra.glsl.utility.GLSLManagedShader
de.grogra.glsl.material.GLSLMaterial
de.grogra.glsl.material.GLSLSunSky
- All Implemented Interfaces:
GLSLOpenGLObject
-
Field Summary
Fields inherited from class de.grogra.glsl.utility.GLSLManagedShader
config -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Result[]getAllChannels(Object sha) For "hardcompiled" Shaders this method should return a new instancebooleanReturn false if Shader depends only on UniformsMethods inherited from class de.grogra.glsl.material.GLSLMaterial
getFragmentShader, isOpaque, mayDiscard, setupDynamicUniforms, setupShader, setupUniformsMethods inherited from class de.grogra.glsl.utility.GLSLManagedShader
deleteShader, getConfig, getMaterial_stamp, setConfig, setMaterial_stampMethods inherited from class de.grogra.glsl.utility.GLSLShader
activateShader, cleanup, getShaderProgramNumber, getVertexShader, printProgramInfoLog
-
Constructor Details
-
GLSLSunSky
public GLSLSunSky()
-
-
Method Details
-
instanceFor
- Overrides:
instanceForin classGLSLShader- Returns:
- Class represented by this Shader
-
getAllChannels
- Specified by:
getAllChannelsin classGLSLMaterial
-
getInstance
Description copied from class:GLSLShaderFor "hardcompiled" Shaders this method should return a new instance- Overrides:
getInstancein classGLSLShader- Returns:
-
needsRecompilation
Description copied from class:GLSLShaderReturn false if Shader depends only on Uniforms- Overrides:
needsRecompilationin classGLSLShader- Returns:
- true, if Sourcecode needs to be regenerated and recompiled
-