-
Field Summary
Fields inherited from class de.grogra.glsl.renderable.GLSLFrustumBase
BASE_OPEN_MASK, TOP_OPEN_MASK, USED_BITS
Fields inherited from class de.grogra.glsl.renderable.GLSLAxis
endPosition, length, SCALE_V_MASK, startPosition
Fields inherited from class de.grogra.glsl.renderable.GLSLBitCache
BITMASK
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) protected void
updateInstanceIndirect
(Object state, boolean asNode, GraphState gs) Methods inherited from class de.grogra.glsl.renderable.GLSLBitCache
getBool, setBool
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
-
top_radius
protected float top_radius -
base_radius
protected float base_radius
-
-
Constructor Details
-
GLSLFrustum
public GLSLFrustum()
-
-
Method Details
-
instanceFor
- Specified by:
instanceFor
in classGLSLRenderable
-
updateInstanceIndirect
- Overrides:
updateInstanceIndirect
in classGLSLAxis
-
updateInstanceByInstancing
- Overrides:
updateInstanceByInstancing
in classGLSLAxis
-
updateInstanceDirect
- Overrides:
updateInstanceDirect
in classGLSLAxis
-
draw
- Specified by:
draw
in classGLSLRenderable
-
getInstance
- Specified by:
getInstance
in classGLSLRenderable
-