de.grogra.imp3d.glsl.renderable
Class GLSLPolygonizable

java.lang.Object
  extended by de.grogra.imp3d.glsl.renderable.GLSLRenderable
      extended by de.grogra.imp3d.glsl.renderable.GLSLNullRenderable
          extended by de.grogra.imp3d.glsl.renderable.GLSLPolygonizable

public abstract class GLSLPolygonizable
extends GLSLNullRenderable

Translation of all renderables implementing the interface Polygonizable. This is done in order to assure face culling is consistent with the global face culling mode.

Author:
Konni Hartmann

Constructor Summary
GLSLPolygonizable()
           
 
Method Summary
 void draw(OpenGLState glState, RenderState rs)
           
 void drawAlt(OpenGLState glState, GLSLDisplay rs)
           
abstract  java.lang.Class<?> instanceFor()
           
 
Methods inherited from class de.grogra.imp3d.glsl.renderable.GLSLNullRenderable
getInstance, updateInstance
 
Methods inherited from class de.grogra.imp3d.glsl.renderable.GLSLRenderable
activateShader, findShader, isShaderDependant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLSLPolygonizable

public GLSLPolygonizable()
Method Detail

draw

public void draw(OpenGLState glState,
                 RenderState rs)
Overrides:
draw in class GLSLNullRenderable

drawAlt

public void drawAlt(OpenGLState glState,
                    GLSLDisplay rs)
Overrides:
drawAlt in class GLSLRenderable

instanceFor

public abstract java.lang.Class<?> instanceFor()
Overrides:
instanceFor in class GLSLNullRenderable