Aviatrix3D
2.1.0

org.j3d.aviatrix3d.pipeline.graphics
Class SceneRenderBucket

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

public class SceneRenderBucket
extends java.lang.Object

Data holder that passes the information about what is to be rendered from a single scene within a layer from the output of the GraphicsCullStage through to the GraphicsSortStage.

Version:
$Revision: 3.3 $
Author:
Justin Couch

Field Summary
 GraphicsEnvironmentData data
          External rendering environment information
 MultipassDetails[] generatedTextures
          A list of the multipass texture sources found.
 GraphicsCullOutputDetails[] nodes
          List of processed nodes based on the scene they came from
 int numGeneratedTextures
          The number of multipass textures to be rendered for this scene
 int numNodes
          Number of nodes in this scene
 OffscreenBufferRenderable[] sceneParents
          Parent nodes that hold the subscene in the main scene graph.
 
Constructor Summary
SceneRenderBucket()
          Create a default instance of this bucket.
SceneRenderBucket(int size)
          Create a instance of this bucket with the node list initialised to the given size.
 
Method Summary
 void ensureCapacity(int size)
          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

data

public GraphicsEnvironmentData data
External rendering environment information


nodes

public GraphicsCullOutputDetails[] nodes
List of processed nodes based on the scene they came from


numNodes

public int numNodes
Number of nodes in this scene


sceneParents

public OffscreenBufferRenderable[] sceneParents
Parent nodes that hold the subscene in the main scene graph. Each index is the scene parent of this scene included (needed for pBuffer GL context handling at render time). If this is null, then the parent is the main canvas that is being rendered to.


generatedTextures

public MultipassDetails[] generatedTextures
A list of the multipass texture sources found.


numGeneratedTextures

public int numGeneratedTextures
The number of multipass textures to be rendered for this scene

Constructor Detail

SceneRenderBucket

public SceneRenderBucket()
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.


SceneRenderBucket

public SceneRenderBucket(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:
size - The number of items in the nodes list to create
Method Detail

ensureCapacity

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

Parameters:
size - The minimum number of cull items to have allocated

Aviatrix3D
2.1.0

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