de.grogra.imp3d.glsl.renderable
Class GLSLAxis

java.lang.Object
  extended by de.grogra.imp3d.glsl.renderable.GLSLRenderable
      extended by de.grogra.imp3d.glsl.renderable.GLSLInstanceableRenderable
          extended by de.grogra.imp3d.glsl.renderable.GLSLBitCache
              extended by de.grogra.imp3d.glsl.renderable.GLSLAxis
Direct Known Subclasses:
GLSLBox, GLSLFrustumBase

public abstract class GLSLAxis
extends GLSLBitCache


Field Summary
protected  float endPosition
           
protected  float length
           
protected static int SCALE_V_MASK
           
protected  float startPosition
           
static int USED_BITS
           
 
Fields inherited from class de.grogra.imp3d.glsl.renderable.GLSLBitCache
BITMASK
 
Fields inherited from class de.grogra.imp3d.glsl.renderable.GLSLInstanceableRenderable
DIRECT, INDIRECT, INSTANCIATED
 
Constructor Summary
GLSLAxis()
           
 
Method Summary
protected  void updateInstanceByInstancing(Renderable reference, GraphState gs)
           
protected  void updateInstanceDirect(Renderable reference)
           
protected  void updateInstanceIndirect(java.lang.Object state, boolean asNode, GraphState gs)
           
 
Methods inherited from class de.grogra.imp3d.glsl.renderable.GLSLBitCache
getBool, setBool
 
Methods inherited from class de.grogra.imp3d.glsl.renderable.GLSLInstanceableRenderable
updateInstance
 
Methods inherited from class de.grogra.imp3d.glsl.renderable.GLSLRenderable
activateShader, draw, drawAlt, findShader, getInstance, instanceFor, isShaderDependant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endPosition

protected float endPosition

length

protected float length

SCALE_V_MASK

protected static final int SCALE_V_MASK
See Also:
Constant Field Values

startPosition

protected float startPosition

USED_BITS

public static final int USED_BITS
See Also:
Constant Field Values
Constructor Detail

GLSLAxis

public GLSLAxis()
Method Detail

updateInstanceByInstancing

protected void updateInstanceByInstancing(Renderable reference,
                                          GraphState gs)
Specified by:
updateInstanceByInstancing in class GLSLInstanceableRenderable

updateInstanceDirect

protected void updateInstanceDirect(Renderable reference)
Specified by:
updateInstanceDirect in class GLSLInstanceableRenderable

updateInstanceIndirect

protected void updateInstanceIndirect(java.lang.Object state,
                                      boolean asNode,
                                      GraphState gs)
Specified by:
updateInstanceIndirect in class GLSLInstanceableRenderable