java.lang.Object
de.grogra.glsl.utility.GLSLShader
de.grogra.glsl.utility.GLSLManagedShader
- All Implemented Interfaces:
GLSLOpenGLObject
- Direct Known Subclasses:
GLSLLightShader
,GLSLMaterial
Represents a class of Shaders that need to be recompiled for every property
change. (e.g GLSLPhong)
- Author:
- Konni Hartmann
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteShader
(javax.media.opengl.GL gl, boolean javaonly) Remove OpenGL side of this shaderint
void
setConfig
(ShaderConfiguration config) void
setMaterial_stamp
(int material_stamp) Methods inherited from class de.grogra.glsl.utility.GLSLShader
activateShader, cleanup, getFragmentShader, getInstance, getShaderProgramNumber, getVertexShader, instanceFor, needsRecompilation, printProgramInfoLog, setupDynamicUniforms, setupShader
-
Field Details
-
config
-
-
Constructor Details
-
GLSLManagedShader
public GLSLManagedShader()
-
-
Method Details
-
setConfig
-
getConfig
-
setMaterial_stamp
public void setMaterial_stamp(int material_stamp) -
getMaterial_stamp
public int getMaterial_stamp() -
deleteShader
public void deleteShader(javax.media.opengl.GL gl, boolean javaonly) Description copied from class:GLSLShader
Remove OpenGL side of this shader- Overrides:
deleteShader
in classGLSLShader
-