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