de.grogra.imp3d.glsl.renderable
Class GLSLSphere
java.lang.Object
de.grogra.imp3d.glsl.renderable.GLSLRenderable
de.grogra.imp3d.glsl.renderable.GLSLInstanceableRenderable
de.grogra.imp3d.glsl.renderable.GLSLSphere
public class GLSLSphere
- extends GLSLInstanceableRenderable
Field Summary |
protected float |
radius
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
radius
protected float radius
GLSLSphere
public GLSLSphere()
draw
public void draw(OpenGLState glState,
RenderState rs)
- Specified by:
draw
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)
- Specified by:
updateInstanceByInstancing
in class GLSLInstanceableRenderable
updateInstanceDirect
protected void updateInstanceDirect(Renderable reference)
- Specified by:
updateInstanceDirect
in class GLSLInstanceableRenderable
updateInstanceIndirect
public void updateInstanceIndirect(java.lang.Object state,
boolean asNode,
GraphState gs)
- Specified by:
updateInstanceIndirect
in class GLSLInstanceableRenderable