Aviatrix3D
2.1.0

org.j3d.aviatrix3d.pipeline.graphics
Class MultipassDetails

java.lang.Object
  extended by org.j3d.aviatrix3d.pipeline.graphics.MultipassDetails

public class MultipassDetails
extends java.lang.Object

Class for passing the detailed rendering information about a single multipass rendering set through the pipeline.

Multipass textures require information about the source, a callback to make between passes, as well as the texture object(s) that want to make use of this source.

Version:
$Revision: 3.3 $
Author:
Justin Couch

Field Summary
 BufferDetails[] buffers
          The list of state renderables for each pass.
 GraphicsEnvironmentData[] data
          External rendering environment information for each pass.
 GraphicsEnvironmentData globalData
          External rendering environment information that is applied to the entire setup.
 GraphicsCullOutputDetails[][] nodes
          List of processed nodes based on the scene they came from and the rendering pass to be processed.
 int[] numNodes
          Number of nodes in each rendering pass.
 int numPasses
          The number of valid passes to render this time.
 
Constructor Summary
MultipassDetails()
          Create a default instance of this bucket.
MultipassDetails(int numPasses, int size)
          Create a instance of this bucket with the node list initialised to the given size.
 
Method Summary
 void ensureCapacity(int numPasses)
          Check and resize the lists if necessary to accomodate the requested number of passes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

globalData

public GraphicsEnvironmentData globalData
External rendering environment information that is applied to the entire setup. Typically this is used to contain just the main background and the viewport size. Individual per-pass environments are held in the data variable.


data

public GraphicsEnvironmentData[] data
External rendering environment information for each pass.


buffers

public BufferDetails[] buffers
The list of state renderables for each pass.


nodes

public GraphicsCullOutputDetails[][] nodes
List of processed nodes based on the scene they came from and the rendering pass to be processed. [a][b] where a is the rendering pass (numbered from 0 to n) and b is the nodes to be rendered in that pass.


numNodes

public int[] numNodes
Number of nodes in each rendering pass.


numPasses

public int numPasses
The number of valid passes to render this time.

Constructor Detail

MultipassDetails

public MultipassDetails()
Create a default instance of this bucket. All lists are initialised to null except the nodes variable, which is set to an internal default size. The graphics environment data is initialised.


MultipassDetails

public MultipassDetails(int numPasses,
                        int size)
Create a instance of this bucket with the node list initialised to the given size. All lists are initialised to null except the nodes variable, which is set to an internal given size and populated with the class instances. The graphics environment data is initialised.

Parameters:
numPasses - The number of passes to preallocate
size - The number of items in the nodes list to create
Method Detail

ensureCapacity

public void ensureCapacity(int numPasses)
Check and resize the lists if necessary to accomodate the requested number of passes.

Parameters:
numPasses - The minimum number of passes to have allocated

Aviatrix3D
2.1.0

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