|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.aviatrix3d.SceneGraphObject org.j3d.aviatrix3d.NodeComponent org.j3d.aviatrix3d.GL14ShaderProgram org.j3d.aviatrix3d.FragmentShader
public class FragmentShader
Node that handles an ARB fragment shader.
Field Summary |
---|
Fields inherited from class org.j3d.aviatrix3d.GL14ShaderProgram |
---|
programChanged, programIdMap, programString |
Fields inherited from class org.j3d.aviatrix3d.NodeComponent |
---|
lastParent, liveCount, parentList |
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject |
---|
alive, LISTENER_SET_TIMING_ERR_PROP, updateHandler |
Fields inherited from interface org.j3d.aviatrix3d.rendering.ShaderComponentRenderable |
---|
FRAGMENT_SHADER, GEOMETRY_SHADER, PROGRAM_SHADER, VERTEX_SHADER |
Constructor Summary | |
---|---|
FragmentShader()
Constructs a TexCoordGeneration with default values. |
Method Summary | |
---|---|
int |
compareTo(FragmentShader sh)
Compares this object with the specified object for order. |
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order. |
boolean |
equals(FragmentShader sh)
Compares this object with the specified object to check for equivalence. |
boolean |
equals(java.lang.Object o)
Compare this object for equality to the given object. |
int |
getComponentType()
Get the type of component this state represents. |
void |
postRender(javax.media.opengl.GL gl)
|
void |
render(javax.media.opengl.GL gl)
Set up the rendering state now. |
Methods inherited from class org.j3d.aviatrix3d.GL14ShaderProgram |
---|
getProgramId, getProgramString, isValid, reinitialize, setProgramString |
Methods inherited from class org.j3d.aviatrix3d.NodeComponent |
---|
addParent, getParents, numParents, removeParent |
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject |
---|
checkForCyclicChild, checkForCyclicParent, dataChanged, getAppUpdateWriteTimingMessage, getBoundsWriteTimingMessage, getDataWriteTimingMessage, getUserData, isLive, setLive, setUpdateHandler, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FragmentShader()
Method Detail |
---|
public int getComponentType()
public void render(javax.media.opengl.GL gl)
gl
- The gl context to draw withpublic void postRender(javax.media.opengl.GL gl)
public int compareTo(java.lang.Object o) throws java.lang.ClassCastException
o
- The objec to be compared
java.lang.ClassCastException
- The specified object's type prevents it from
being compared to this Objectpublic boolean equals(java.lang.Object o)
equals
in interface Renderable
equals
in class java.lang.Object
o
- The object to be compared
public int compareTo(FragmentShader sh)
sh
- The shader instances to be compared
public boolean equals(FragmentShader sh)
sh
- The shader instance to be compared
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |