de.grogra.imp3d.glsl.renderable
public class GLSLSphere extends GLSLInstanceableRenderable
| Modifier and Type | Field and Description |
|---|---|
protected float |
radius |
DIRECT, INDIRECT, INSTANCIATED| Constructor and Description |
|---|
GLSLSphere() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(OpenGLState glState,
RenderState rs) |
GLSLRenderable |
getInstance() |
java.lang.Class<?> |
instanceFor() |
protected void |
updateInstanceByInstancing(Renderable reference,
GraphState gs) |
protected void |
updateInstanceDirect(Renderable reference) |
void |
updateInstanceIndirect(java.lang.Object state,
boolean asNode,
GraphState gs) |
updateInstanceactivateShader, drawAlt, findShader, isShaderDependantpublic void draw(OpenGLState glState, RenderState rs)
draw in class GLSLRenderablepublic GLSLRenderable getInstance()
getInstance in class GLSLRenderablepublic java.lang.Class<?> instanceFor()
instanceFor in class GLSLRenderableprotected void updateInstanceByInstancing(Renderable reference, GraphState gs)
updateInstanceByInstancing in class GLSLInstanceableRenderableprotected void updateInstanceDirect(Renderable reference)
updateInstanceDirect in class GLSLInstanceableRenderablepublic void updateInstanceIndirect(java.lang.Object state,
boolean asNode,
GraphState gs)
updateInstanceIndirect in class GLSLInstanceableRenderable