Module gl1

Class GLSLManagedShader

java.lang.Object
de.grogra.glsl.utility.GLSLShader
de.grogra.glsl.utility.GLSLManagedShader
All Implemented Interfaces:
GLSLOpenGLObject
Direct Known Subclasses:
GLSLLightShader, GLSLMaterial

public abstract class GLSLManagedShader extends GLSLShader
Represents a class of Shaders that need to be recompiled for every property change. (e.g GLSLPhong)
Author:
Konni Hartmann
  • Field Details

  • Constructor Details

    • GLSLManagedShader

      public GLSLManagedShader()
  • Method Details

    • setConfig

      public void setConfig(ShaderConfiguration config)
    • getConfig

      public ShaderConfiguration 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 class GLSLShader