java.lang.Object
de.grogra.glsl.renderable.GLSLRenderable
de.grogra.glsl.renderable.GLSLInstanceableRenderable
de.grogra.glsl.renderable.GLSLSphere
-
Field Summary
Fields inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
DIRECT, INDIRECT, INSTANCIATED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(OpenGLState glState, RenderState rs) Class<?>
protected void
updateInstanceByInstancing
(Renderable reference, GraphState gs) protected void
updateInstanceDirect
(Renderable reference) void
updateInstanceIndirect
(Object state, boolean asNode, GraphState gs) Methods inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
updateInstance
Methods inherited from class de.grogra.glsl.renderable.GLSLRenderable
activateShader, drawAlt, findShader, isShaderDependant
-
Field Details
-
radius
protected float radius
-
-
Constructor Details
-
GLSLSphere
public GLSLSphere()
-
-
Method Details
-
instanceFor
- Specified by:
instanceFor
in classGLSLRenderable
-
updateInstanceIndirect
- Specified by:
updateInstanceIndirect
in classGLSLInstanceableRenderable
-
updateInstanceByInstancing
- Specified by:
updateInstanceByInstancing
in classGLSLInstanceableRenderable
-
updateInstanceDirect
- Specified by:
updateInstanceDirect
in classGLSLInstanceableRenderable
-
draw
- Specified by:
draw
in classGLSLRenderable
-
getInstance
- Specified by:
getInstance
in classGLSLRenderable
-