de.grogra.imp3d.glsl.renderable
Class GLSLBox
java.lang.Object
de.grogra.imp3d.glsl.renderable.GLSLRenderable
de.grogra.imp3d.glsl.renderable.GLSLInstanceableRenderable
de.grogra.imp3d.glsl.renderable.GLSLBitCache
de.grogra.imp3d.glsl.renderable.GLSLAxis
de.grogra.imp3d.glsl.renderable.GLSLBox
public class GLSLBox
- extends GLSLAxis
Field Summary |
protected float |
height
|
protected float |
width
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
height
protected float height
width
protected float width
GLSLBox
public GLSLBox()
draw
public void draw(OpenGLState glState,
RenderState rs)
- Specified by:
draw
in class GLSLRenderable
drawAlt
public void drawAlt(OpenGLState glState,
GLSLDisplay rs)
- Overrides:
drawAlt
in class GLSLRenderable
getInstance
public GLSLRenderable getInstance()
- Specified by:
getInstance
in class GLSLRenderable
instanceFor
public java.lang.Class<?> instanceFor()
- Specified by:
instanceFor
in class GLSLRenderable
updateInstanceByInstancing
protected void updateInstanceByInstancing(Renderable reference,
GraphState gs)
- Overrides:
updateInstanceByInstancing
in class GLSLAxis
updateInstanceDirect
protected void updateInstanceDirect(Renderable reference)
- Overrides:
updateInstanceDirect
in class GLSLAxis
updateInstanceIndirect
public void updateInstanceIndirect(java.lang.Object state,
boolean asNode,
GraphState gs)
- Overrides:
updateInstanceIndirect
in class GLSLAxis