-
Field Summary
FieldsFields inherited from class de.grogra.glsl.renderable.GLSLAxis
endPosition, length, SCALE_V_MASK, startPosition, USED_BITSFields inherited from class de.grogra.glsl.renderable.GLSLBitCache
BITMASKFields inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
DIRECT, INDIRECT, INSTANCIATED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(OpenGLState glState, RenderState rs) voiddrawAlt(OpenGLState glState, GLSLDisplay 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.GLSLBitCache
getBool, setBoolMethods inherited from class de.grogra.glsl.renderable.GLSLInstanceableRenderable
updateInstanceMethods 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:
instanceForin classGLSLRenderable
-
updateInstanceDirect
- Overrides:
updateInstanceDirectin classGLSLAxis
-
updateInstanceIndirect
- Overrides:
updateInstanceIndirectin classGLSLAxis
-
updateInstanceByInstancing
- Overrides:
updateInstanceByInstancingin classGLSLAxis
-
draw
- Specified by:
drawin classGLSLRenderable
-
drawAlt
- Overrides:
drawAltin classGLSLRenderable
-
getInstance
- Specified by:
getInstancein classGLSLRenderable
-