-
Field Summary
Fields inherited from class de.grogra.glsl.renderable.GLSLAxis
endPosition, length, SCALE_V_MASK, startPosition, USED_BITS
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) void
drawAlt
(OpenGLState glState, GLSLDisplay 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.GLSLBitCache
getBool, setBool
Methods inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
updateInstance
Methods inherited from class de.grogra.glsl.renderable.GLSLRenderable
activateShader, findShader, isShaderDependant
-
Field Details
-
width
protected float width -
height
protected float height
-
-
Constructor Details
-
GLSLBox
public GLSLBox()
-
-
Method Details
-
instanceFor
- Specified by:
instanceFor
in classGLSLRenderable
-
updateInstanceDirect
- Overrides:
updateInstanceDirect
in classGLSLAxis
-
updateInstanceIndirect
- Overrides:
updateInstanceIndirect
in classGLSLAxis
-
updateInstanceByInstancing
- Overrides:
updateInstanceByInstancing
in classGLSLAxis
-
draw
- Specified by:
draw
in classGLSLRenderable
-
drawAlt
- Overrides:
drawAlt
in classGLSLRenderable
-
getInstance
- Specified by:
getInstance
in classGLSLRenderable
-