j3d.org Aviatrix3D

org.j3d.aviatrix3d
Class RenderInstructions

java.lang.Object
  extended byorg.j3d.aviatrix3d.RenderInstructions

public class RenderInstructions
extends java.lang.Object

Class for passing the detailed rendering information for a single surface. from the sorter through to the renderable surface.

Since pBuffers cannot be shared across different GL contexts with the construct that JOGL is is using, when two parent textures reference a single child, there will be two copies of this class, with two different parentSource references, but only one copyOf set.

Version:
$Revision: 1.4 $
Author:
Justin Couch

Field Summary
 RenderInstructions copyOf
          Reference to the real instance of this class that contains the renderList and renderOps you should read from.
 int numValid
          The number of valid items in the array
 OffscreenTextureSource parentSource
          Reference to the parent texture source that this instance is to be rendered into.
 OffscreenTextureSource pbuffer
          If set, the rendering should be done to an offscreen buffer that is then handed to this texture placeholder for use in another drawable object.
 RenderEnvironmentData renderData
          Visual data such as viewpoint, background etc
 RenderDetails[] renderList
          The list of nodes in sorted order
 int[] renderOps
          Operation to perform on each node
 
Constructor Summary
RenderInstructions()
          Construct a new instance of this class with the arrays initialised to a default size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderData

public RenderEnvironmentData renderData
Visual data such as viewpoint, background etc


pbuffer

public OffscreenTextureSource pbuffer
If set, the rendering should be done to an offscreen buffer that is then handed to this texture placeholder for use in another drawable object. If this is null, then render to the main on-screen drawable object.


copyOf

public RenderInstructions copyOf
Reference to the real instance of this class that contains the renderList and renderOps you should read from. If null, this is the original specification.


parentSource

public OffscreenTextureSource parentSource
Reference to the parent texture source that this instance is to be rendered into. If the parent source is the root canvas (ie main drawable), this reference will be null.


renderList

public RenderDetails[] renderList
The list of nodes in sorted order


renderOps

public int[] renderOps
Operation to perform on each node


numValid

public int numValid
The number of valid items in the array

Constructor Detail

RenderInstructions

public RenderInstructions()
Construct a new instance of this class with the arrays initialised to a default size.


j3d.org Aviatrix3D

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