Aviatrix3D
2.0 Dev

org.j3d.aviatrix3d
Class Shader

java.lang.Object
  extended byorg.j3d.aviatrix3d.SceneGraphObject
      extended byorg.j3d.aviatrix3d.NodeComponent
          extended byorg.j3d.aviatrix3d.Shader
All Implemented Interfaces:
java.lang.Comparable, Renderable, RenderableObject
Direct Known Subclasses:
GL14Shader, GLSLangShader

public abstract class Shader
extends NodeComponent
implements RenderableObject

Base representation of the functionality common across the various shader types that can be applied to geometry.

Version:
$Revision: 1.10 $
Author:
Justin Couch

Field Summary
 
Fields inherited from class org.j3d.aviatrix3d.NodeComponent
lastParent, liveCount, parentList
 
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject
alive, LISTENER_SET_NOT_LIVE_MESSAGE, updateHandler, WRITE_TIMING_MSG
 
Constructor Summary
Shader()
          Constructs a Shader with default values.
 
Method Summary
 Renderable getRenderable(int bufferId)
          Get the Renderable instance needed to process this object for the given buffer ID.
 
Methods inherited from class org.j3d.aviatrix3d.NodeComponent
addParent, getParents, hasChanged, numParents, removeParent
 
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject
checkForCyclicChild, checkForCyclicParent, dataChanged, getUserData, isLive, setLive, setUpdateHandler, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.j3d.aviatrix3d.RenderableObject
postRender, render
 
Methods inherited from interface org.j3d.aviatrix3d.Renderable
equals
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

Shader

public Shader()
Constructs a Shader with default values.

Method Detail

getRenderable

public Renderable getRenderable(int bufferId)
Get the Renderable instance needed to process this object for the given buffer ID.

Overrides:
getRenderable in class NodeComponent
Parameters:
bufferId - The ID of the buffer for the renderable to encapsulate
Returns:
The renderable object, or null if nothing to render

Aviatrix3D
2.0 Dev

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2005 j3d.org