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
-
Method Summary
Modifier and TypeMethodDescriptionprotected Result[]
getAllChannels
(Object sha) For "hardcompiled" Shaders this method should return a new instanceboolean
Return false if Shader depends only on UniformsMethods inherited from class de.grogra.glsl.material.GLSLMaterial
getFragmentShader, isOpaque, mayDiscard, setupDynamicUniforms, setupShader, setupUniforms
Methods inherited from class de.grogra.glsl.utility.GLSLManagedShader
deleteShader, getConfig, getMaterial_stamp, setConfig, setMaterial_stamp
Methods inherited from class de.grogra.glsl.utility.GLSLShader
activateShader, cleanup, getShaderProgramNumber, getVertexShader, printProgramInfoLog
-
Constructor Details
-
GLSLSunSky
public GLSLSunSky()
-
-
Method Details
-
instanceFor
- Overrides:
instanceFor
in classGLSLShader
- Returns:
- Class represented by this Shader
-
getAllChannels
- Specified by:
getAllChannels
in classGLSLMaterial
-
getInstance
Description copied from class:GLSLShader
For "hardcompiled" Shaders this method should return a new instance- Overrides:
getInstance
in classGLSLShader
- Returns:
-
needsRecompilation
Description copied from class:GLSLShader
Return false if Shader depends only on Uniforms- Overrides:
needsRecompilation
in classGLSLShader
- Returns:
- true, if Sourcecode needs to be regenerated and recompiled
-