org.xith3d.scenegraph
Class AssemblyShaderProgramContext

java.lang.Object
  extended by org.xith3d.scenegraph.SceneGraphObject
      extended by org.xith3d.scenegraph.NodeComponent
          extended by org.xith3d.scenegraph.ShaderProgramContext<AssemblyShaderProgram>
              extended by org.xith3d.scenegraph.AssemblyShaderProgramContext
All Implemented Interfaces:
java.lang.Comparable<ShaderProgramContext<AssemblyShaderProgram>>, org.jagatoo.datatypes.Enableable, org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, StateTrackable<ShaderProgramContext<AssemblyShaderProgram>>

public class AssemblyShaderProgramContext
extends ShaderProgramContext<AssemblyShaderProgram>


Field Summary
 
Fields inherited from class org.xith3d.scenegraph.SceneGraphObject
XITH3D_USERDATAKEY_OLDUSERDATA
 
Constructor Summary
AssemblyShaderProgramContext(AssemblyShaderProgram program)
           
 
Method Summary
 AssemblyShaderProgramContext cloneNodeComponent(boolean forceDuplicate)
           
 int compareTo(ShaderProgramContext<AssemblyShaderProgram> o)
          
 boolean equals(java.lang.Object o)
          
 AssemblyShaderProgramContext getCopy()
           
protected  AssemblyShaderProgram newProgramInstance()
           
 
Methods inherited from class org.xith3d.scenegraph.ShaderProgramContext
duplicateNodeComponent, freeOpenGLResources, getProgram, getStateId, getStateNode, isEnabled, setEnabled, setStateNode
 
Methods inherited from class org.xith3d.scenegraph.NodeComponent
freeOpenGLResources, getDuplicateOnCloneTree, getModListener, isChanged, isChanged2, setChanged, setDuplicateOnCloneTree, setModListener
 
Methods inherited from class org.xith3d.scenegraph.SceneGraphObject
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssemblyShaderProgramContext

public AssemblyShaderProgramContext(AssemblyShaderProgram program)
Method Detail

equals

public boolean equals(java.lang.Object o)

Specified by:
equals in class ShaderProgramContext<AssemblyShaderProgram>

compareTo

public int compareTo(ShaderProgramContext<AssemblyShaderProgram> o)

Specified by:
compareTo in interface java.lang.Comparable<ShaderProgramContext<AssemblyShaderProgram>>
Specified by:
compareTo in class ShaderProgramContext<AssemblyShaderProgram>

newProgramInstance

protected AssemblyShaderProgram newProgramInstance()
Specified by:
newProgramInstance in class ShaderProgramContext<AssemblyShaderProgram>
Returns:

cloneNodeComponent

public AssemblyShaderProgramContext cloneNodeComponent(boolean forceDuplicate)
Specified by:
cloneNodeComponent in class NodeComponent

getCopy

public AssemblyShaderProgramContext getCopy()
Returns:
a copy of the state of the referenced trackable object.