Aviatrix3D
2.1.0

org.j3d.aviatrix3d.pipeline.graphics
Class SortToSingleDrawListener

java.lang.Object
  extended by org.j3d.aviatrix3d.pipeline.graphics.SortToSingleDrawListener
All Implemented Interfaces:
SortedGeometryReceiver

public class SortToSingleDrawListener
extends java.lang.Object
implements SortedGeometryReceiver

Handles the output of the geometry sorter.

Version:
$Revision: 3.3 $
Author:
Justin Couch

Constructor Summary
SortToSingleDrawListener()
          Create a new default instance of this class with nothing set.
 
Method Summary
 void setGraphicsOutputDevice(GraphicsOutputDevice device)
          Set the surfaces instance to be used as the target.
 void sortedOutput(GraphicsRequestData otherData, GraphicsProfilingData profilingData, GraphicsInstructions[] commands, int numValid)
          Here's the sorted output list of nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortToSingleDrawListener

public SortToSingleDrawListener()
Create a new default instance of this class with nothing set.

Method Detail

sortedOutput

public void sortedOutput(GraphicsRequestData otherData,
                         GraphicsProfilingData profilingData,
                         GraphicsInstructions[] commands,
                         int numValid)
Here's the sorted output list of nodes.

Specified by:
sortedOutput in interface SortedGeometryReceiver
Parameters:
otherData - Other graphics request data
profilingData - Timing and load data
commands - The list of drawable surfaces to render
numValid - The number of valid items in the array

setGraphicsOutputDevice

public void setGraphicsOutputDevice(GraphicsOutputDevice device)
Set the surfaces instance to be used as the target. Passing a value of null will clear the current registered instance.

Parameters:
device - The surface instance to use or null

Aviatrix3D
2.1.0

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