7 #ifndef PXR_USD_IMAGING_USD_IMAGING_SCENE_INDICES_H 8 #define PXR_USD_IMAGING_USD_IMAGING_SCENE_INDICES_H 10 #include "pxr/imaging/hd/noticeBatchingSceneIndex.h" 13 #include "pxr/usdImaging/usdImaging/api.h" 15 #include "pxr/imaging/hd/dataSource.h" 16 #include "pxr/imaging/hd/sceneIndex.h" 19 PXR_NAMESPACE_OPEN_SCOPE
26 using UsdImagingSceneIndexAppendCallback =
28 HdSceneIndexBaseRefPtr(HdSceneIndexBaseRefPtr
const &)>;
36 using SceneIndexAppendCallback = UsdImagingSceneIndexAppendCallback;
58 UsdImagingStageSceneIndexRefPtr stageSceneIndex;
59 HdNoticeBatchingSceneIndexRefPtr postInstancingNoticeBatchingSceneIndex;
60 UsdImagingSelectionSceneIndexRefPtr selectionSceneIndex;
61 HdSceneIndexBaseRefPtr finalSceneIndex;
70 UsdImagingCreateSceneIndices(
87 UsdImagingCreateSceneIndices(
88 HdContainerDataSourceHandle
const &createArgs,
89 const UsdImagingSceneIndexAppendCallback &overridesSceneIndexCallback);
91 PXR_NAMESPACE_CLOSE_SCOPE
Info needed to create a chain of filtering scene indices (resolving e.g.
Standard pointer typedefs.
A scene index consuming a UsdStage.
The outermost container for scene description, which owns and presents composed prims as a scenegraph...
bool addDrawModeSceneIndex
Add scene index resolving usd draw mode.
Some scene indices in the chain of filtering scene indices created by UsdImagingCreateSceneIndices.
A simple scene index adding HdSelectionsSchema to all prims selected with AddSelection.
HdContainerDataSourceHandle stageSceneIndexInputArgs
Inputs to UsdImagingStageSceneIndex (note that includeUnloadedPrims is set automatically when display...
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
SceneIndexAppendCallback overridesSceneIndexCallback
A client can insert scene indices after stage scene index.
bool displayUnloadedPrimsWithBounds
Should we switch the draw mode for unloaded prims to bounds.
UsdStageRefPtr stage
Stage.