org.xith3d.scenegraph
Class AssemblyShaderProgram

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

public class AssemblyShaderProgram
extends ShaderProgram<AssemblyShader>


Field Summary
 
Fields inherited from class org.xith3d.scenegraph.SceneGraphObject
XITH3D_USERDATAKEY_OLDUSERDATA
 
Constructor Summary
AssemblyShaderProgram()
           
AssemblyShaderProgram(AssemblyVertexShader vertexShader, AssemblyFragmentShader fragmentShader)
           
AssemblyShaderProgram(AssemblyVertexShader vertexShader, AssemblyFragmentShader fragmentShader, boolean enabled)
           
AssemblyShaderProgram(boolean enabled)
           
 
Method Summary
 AssemblyShaderProgram cloneNodeComponent(boolean forceDuplicate)
           
 int compareTo(ShaderProgram<AssemblyShader> o)
          
protected  void duplicateNodeComponent(NodeComponent original, boolean forceDuplicate)
          
 boolean equals(java.lang.Object o)
          
 AssemblyShaderProgram getCopy()
           
 
Methods inherited from class org.xith3d.scenegraph.ShaderProgram
addShader, freeOpenGLResources, getFragmentShader, getNumFragmentShaders, getNumShaders, getNumVertexShaders, getStateId, getStateNode, getVertexShader, isEnabled, removeAllShaders, removeShader, setDirty, 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

AssemblyShaderProgram

public AssemblyShaderProgram(boolean enabled)

AssemblyShaderProgram

public AssemblyShaderProgram()

AssemblyShaderProgram

public AssemblyShaderProgram(AssemblyVertexShader vertexShader,
                             AssemblyFragmentShader fragmentShader,
                             boolean enabled)

AssemblyShaderProgram

public AssemblyShaderProgram(AssemblyVertexShader vertexShader,
                             AssemblyFragmentShader fragmentShader)
Method Detail

equals

public boolean equals(java.lang.Object o)

Specified by:
equals in class ShaderProgram<AssemblyShader>

compareTo

public int compareTo(ShaderProgram<AssemblyShader> o)

Specified by:
compareTo in interface java.lang.Comparable<ShaderProgram<AssemblyShader>>
Specified by:
compareTo in class ShaderProgram<AssemblyShader>

duplicateNodeComponent

protected void duplicateNodeComponent(NodeComponent original,
                                      boolean forceDuplicate)

Overrides:
duplicateNodeComponent in class ShaderProgram<AssemblyShader>

cloneNodeComponent

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

getCopy

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