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"
19PXR_NAMESPACE_OPEN_SCOPE
26using UsdImagingSceneIndexAppendCallback =
28 HdSceneIndexBaseRefPtr(HdSceneIndexBaseRefPtr
const &)>;
34 using SceneIndexAppendCallback = UsdImagingSceneIndexAppendCallback;
56 UsdImagingStageSceneIndexRefPtr stageSceneIndex;
57 HdNoticeBatchingSceneIndexRefPtr postInstancingNoticeBatchingSceneIndex;
58 UsdImagingSelectionSceneIndexRefPtr selectionSceneIndex;
59 HdSceneIndexBaseRefPtr finalSceneIndex;
66UsdImagingCreateSceneIndices(
81UsdImagingCreateSceneIndices(
82 HdContainerDataSourceHandle
const &inputArgs,
83 const UsdImagingSceneIndexAppendCallback &overridesSceneIndexCallback);
85PXR_NAMESPACE_CLOSE_SCOPE
A simple scene index adding HdSelectionsSchema to all prims selected with AddSelection.
A scene index consuming a UsdStage.
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 UsdImagingCreateSceneIndices.