de.grogra.imp3d.glsl.material
Class GLSLSunSky

java.lang.Object
  extended by de.grogra.imp3d.glsl.utility.GLSLShader
      extended by de.grogra.imp3d.glsl.utility.GLSLManagedShader
          extended by de.grogra.imp3d.glsl.material.GLSLMaterial
              extended by de.grogra.imp3d.glsl.material.GLSLSunSky
All Implemented Interfaces:
GLSLOpenGLObject

public class GLSLSunSky
extends GLSLMaterial


Field Summary
 
Fields inherited from class de.grogra.imp3d.glsl.utility.GLSLManagedShader
config
 
Constructor Summary
GLSLSunSky()
           
 
Method Summary
protected  Result[] getAllChannels(java.lang.Object sha)
           
 GLSLShader getInstance()
          For "hardcompiled" Shaders this method should return a new instance
 java.lang.Class instanceFor()
           
 boolean needsRecompilation(java.lang.Object s)
          Return false if Shader depends only on Uniforms
 
Methods inherited from class de.grogra.imp3d.glsl.material.GLSLMaterial
getFragmentShader, isOpaque, mayDiscard, setupDynamicUniforms, setupShader, setupUniforms
 
Methods inherited from class de.grogra.imp3d.glsl.utility.GLSLManagedShader
deleteShader, getConfig, getMaterial_stamp, setConfig, setMaterial_stamp
 
Methods inherited from class de.grogra.imp3d.glsl.utility.GLSLShader
activateShader, cleanup, getShaderProgramNumber, getVertexShader, printProgramInfoLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLSLSunSky

public GLSLSunSky()
Method Detail

getAllChannels

protected Result[] getAllChannels(java.lang.Object sha)
Specified by:
getAllChannels in class GLSLMaterial

getInstance

public GLSLShader getInstance()
Description copied from class: GLSLShader
For "hardcompiled" Shaders this method should return a new instance

Overrides:
getInstance in class GLSLShader
Returns:

instanceFor

public java.lang.Class instanceFor()
Overrides:
instanceFor in class GLSLShader
Returns:
Class represented by this Shader

needsRecompilation

public boolean needsRecompilation(java.lang.Object s)
Description copied from class: GLSLShader
Return false if Shader depends only on Uniforms

Overrides:
needsRecompilation in class GLSLShader
Returns:
true, if Sourcecode needs to be regenerated and recompiled