java.lang.Object
de.grogra.glsl.renderable.GLSLRenderable
de.grogra.glsl.renderable.GLSLInstanceableRenderable
de.grogra.glsl.renderable.GLSLSphere
-
Field Summary
FieldsFields inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
DIRECT, INDIRECT, INSTANCIATED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(OpenGLState glState, RenderState rs) Class<?> protected voidupdateInstanceByInstancing(Renderable reference, GraphState gs) protected voidupdateInstanceDirect(Renderable reference) voidupdateInstanceIndirect(Object state, boolean asNode, GraphState gs) Methods inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
updateInstanceMethods 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:
instanceForin classGLSLRenderable
-
updateInstanceIndirect
- Specified by:
updateInstanceIndirectin classGLSLInstanceableRenderable
-
updateInstanceByInstancing
- Specified by:
updateInstanceByInstancingin classGLSLInstanceableRenderable
-
updateInstanceDirect
- Specified by:
updateInstanceDirectin classGLSLInstanceableRenderable
-
draw
- Specified by:
drawin classGLSLRenderable
-
getInstance
- Specified by:
getInstancein classGLSLRenderable
-