public class DebugFrustumCullStage extends BaseCullStage
For each object in the scene, this will render a box around its bounds, including each grouping node in the scene heirarchy.
activeParent, appearanceStack, checkOffscreens, clipList, clipTxList, currentViewpointPath, errorReporter, eyePoint, fogStack, lastAppearanceStack, lastClip, lastFogStack, lastLight, lastOutputLayer, lastOutputList, lastSubscene, lastTxStack, layersTmp, LIGHT_INCREMENT, LIGHT_START_SIZE, lightList, lightTxList, LIST_INCREMENT, LIST_START_LENGTH, orientationMatrix, outputLayerCounts, outputLayers, outputSceneParents, pendingParents, pendingSubscenes, processedPBufferTextures, screenOrientation, terminate, transformStack, useEyePoint, useOrientation, validSceneParents, viewMatrix1, viewMatrix2, workCullList, workLayerCounts, workLayers| Constructor and Description |
|---|
DebugFrustumCullStage(boolean useGlobalView)
Create a basic instance of this class with the list assuming there are
no off-screen buffers in use for the initial internal setup.
|
DebugFrustumCullStage(int numSurfaces,
boolean useGlobalView)
Create a basic instance of this class with the list initial internal
setup for the given number of renderable surfaces.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cullRenderPass(RenderPassCullable pass,
int passNumber,
int subsceneId,
int layerId,
int viewIndex,
int layerIndex)
Update and cull the a single pass from a multipass rendering.
|
protected void |
cullScene(RenderPassCullable scene,
int subsceneId,
int layerId,
int viewIndex,
int layerIndex)
Update and cull the scenegraph.
|
protected void |
cullScene2D(RenderPassCullable scene,
int subsceneId,
int layerId,
int viewIndex,
int layerIndex)
Update and cull a 2D scenegraph.
|
protected void |
fillMultipassEnvData(SceneCullable scene,
GraphicsEnvironmentData envData)
Take a simple scene and fill in a GraphicsEnvironmentData instance.
|
protected void |
fillRenderPassEnvData(RenderPassCullable pass,
GraphicsEnvironmentData envData,
BufferDetails bufferData)
Take a simple scene and fill in a GraphicsEnvironmentData instance.
|
protected void |
fillSingleEnvData(SceneCullable scene,
GraphicsEnvironmentData envData)
Take a simple scene and fill in a GraphicsEnvironmentData instance.
|
checkForOffscreens, cleanupOldRefs, cull, cullMultipassViewportLayer, cullSingleViewportLayer, cullViewport, fill2DEnvData, halt, isOffscreenCheckEnabled, processLayer, resizeAppearanceStack, resizeClipList, resizeCullList, resizeFogStack, resizeLightList, resizeOffscreenList, resizeOutputLists, resizeStack, setCulledGeometryReceiver, setErrorReporter, setEyePointOffset, setOffscreenCheckEnabled, setScreenOrientationpublic DebugFrustumCullStage(boolean useGlobalView)
useGlobalView - The rendered viewpoint is set to look down on the
entire scene if set true, otherwise uses the normal valuepublic DebugFrustumCullStage(int numSurfaces,
boolean useGlobalView)
numSurfaces - Total number of surfaces to prepare rendering foruseGlobalView - The rendered viewpoint is set to look down on the
entire scene if set true, otherwise uses the normal valueprotected void cullScene(RenderPassCullable scene, int subsceneId, int layerId, int viewIndex, int layerIndex)
cullScene in class BaseCullStagescene - The scene instance to cullsubsceneId - The index of the subscene in the viewport outputlayerId - The index of the layer in the outputviewIndex - The index of the viewport in the parent
ViewportCollectionlayerIndex - The index of the layer within the viewportprotected void cullScene2D(RenderPassCullable scene, int subsceneId, int layerId, int viewIndex, int layerIndex)
cullScene2D in class BaseCullStagescene - The scene instance to cullsubsceneId - The index of the subscene in the viewport outputlayerId - The index of the layer in the outputviewIndex - The index of the viewport in the parent
ViewportCollectionlayerIndex - The index of the layer within the viewportprotected void cullRenderPass(RenderPassCullable pass, int passNumber, int subsceneId, int layerId, int viewIndex, int layerIndex)
cullRenderPass in class BaseCullStagepass - The rendering pass instance to cullsubsceneId - The index of the subscene in the viewport outputlayerId - The index of the layer in the outputviewIndex - The index of the viewport in the parent
ViewportCollectionlayerIndex - The index of the layer within the viewportprotected void fillSingleEnvData(SceneCullable scene, GraphicsEnvironmentData envData)
fillSingleEnvData in class BaseCullStagescene - The scene to take data fromenvData - Data instance to copy it toprotected void fillMultipassEnvData(SceneCullable scene, GraphicsEnvironmentData envData)
fillMultipassEnvData in class BaseCullStagescene - The scene to take data fromenvData - Data instance to copy it toprotected void fillRenderPassEnvData(RenderPassCullable pass, GraphicsEnvironmentData envData, BufferDetails bufferData)
fillRenderPassEnvData in class BaseCullStagepass - The render pass to take data fromenvData - Data instance to copy it tobufferData - The object to copy the extra buffer state to
Copyright © 2001 - 2015 j3d.org