de.grogra.imp3d.glsl.renderable
public class GLSLBox extends GLSLAxis
| Modifier and Type | Field and Description |
|---|---|
protected float |
height |
protected float |
width |
endPosition, length, SCALE_V_MASK, startPosition, USED_BITSBITMASKDIRECT, INDIRECT, INSTANCIATED| Constructor and Description |
|---|
GLSLBox() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(OpenGLState glState,
RenderState rs) |
void |
drawAlt(OpenGLState glState,
GLSLDisplay rs) |
GLSLRenderable |
getInstance() |
java.lang.Class<?> |
instanceFor() |
protected void |
updateInstanceByInstancing(Renderable reference,
GraphState gs) |
protected void |
updateInstanceDirect(Renderable reference) |
void |
updateInstanceIndirect(java.lang.Object state,
boolean asNode,
GraphState gs) |
getBool, setBoolupdateInstanceactivateShader, findShader, isShaderDependantpublic void draw(OpenGLState glState, RenderState rs)
draw in class GLSLRenderablepublic void drawAlt(OpenGLState glState, GLSLDisplay rs)
drawAlt in class GLSLRenderablepublic GLSLRenderable getInstance()
getInstance in class GLSLRenderablepublic java.lang.Class<?> instanceFor()
instanceFor in class GLSLRenderableprotected void updateInstanceByInstancing(Renderable reference, GraphState gs)
updateInstanceByInstancing in class GLSLAxisprotected void updateInstanceDirect(Renderable reference)
updateInstanceDirect in class GLSLAxispublic void updateInstanceIndirect(java.lang.Object state,
boolean asNode,
GraphState gs)
updateInstanceIndirect in class GLSLAxis