|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.pipeline.graphics.CullToSingleSortListener
public class CullToSingleSortListener
Adapter class that maps the output of a cull stage to a single sorter.
Constructor Summary | |
---|---|
CullToSingleSortListener()
Create a new default instance of this class with nothing set. |
Method Summary | |
---|---|
void |
culledOutput(GraphicsRequestData otherData,
GraphicsProfilingData profilingData,
ViewportCollection[][] layers,
int[] numLayers,
int numScenes,
OffscreenBufferRenderable[][] sceneParents)
Here's the sorted output list of nodes per layer. |
void |
setSorter(GraphicsSortStage s)
Set the sorter instance to be used as the target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CullToSingleSortListener()
Method Detail |
---|
public void culledOutput(GraphicsRequestData otherData, GraphicsProfilingData profilingData, ViewportCollection[][] layers, int[] numLayers, int numScenes, OffscreenBufferRenderable[][] sceneParents)
ViewportCollection
represents the contents of a complete
layer.
Note, this does not consider multipass texture sources right now.
For the 2D array of layers, it contains the list of final subscenes to send to the final stage, with the second dimension describing the layers, in rendering order. The first item will always be the main scene that gets rendered to the canvas.
For the 2D array sceneParent, it allows for mapping the output of internal scenes to the holding texture node. Index 0 is the direct owner of the scene contents. Index 1 is the scene parent of the scene included (needed for pBuffer GL context handling at render time). If this second one is null, then the parent is the main canvas that is being rendered to.
culledOutput
in interface CulledGeometryReceiver
otherData
- The optional renderable data to process this next frameprofilingData
- The timing and load datalayers
- The list of layers that need to be further processednumLayers
- The number of valid layers in each scene to processnumScenes
- The number of valid scenes to processsceneParents
- Parent node that holds the subscene in the main
scene graphpublic void setSorter(GraphicsSortStage s)
s
- The sorter instance to use or null
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |