Loading...
Searching...
No Matches
UsdImagingCreateSceneIndicesInfo Struct Reference

Info needed to create a chain of filtering scene indices (resolving e.g. More...

#include <sceneIndices.h>

Public Types

using SceneIndexAppendCallback = std::function< HdSceneIndexBaseRefPtr(HdSceneIndexBaseRefPtr const &)>
 

Public Attributes

UsdStageRefPtr stage
 Stage.
 
HdContainerDataSourceHandle stageSceneIndexInputArgs
 Inputs to UsdImagingStageSceneIndex (note that includeUnloadedPrims is set automatically when displayUnloadedPrimsWithBounds is enabled).
 
bool addDrawModeSceneIndex = true
 Add scene index resolving usd draw mode.
 
bool displayUnloadedPrimsWithBounds = false
 Should we switch the draw mode for unloaded prims to bounds.
 
SceneIndexAppendCallback overridesSceneIndexCallback
 A client can insert scene indices after stage scene index.
 

Detailed Description

Info needed to create a chain of filtering scene indices (resolving e.g.

USD native instancing) for clients to consume a UsdStage.

Definition at line 43 of file sceneIndices.h.

Member Typedef Documentation

◆ SceneIndexAppendCallback

using SceneIndexAppendCallback = std::function< HdSceneIndexBaseRefPtr(HdSceneIndexBaseRefPtr const &)>

Definition at line 45 of file sceneIndices.h.

Member Data Documentation

◆ addDrawModeSceneIndex

bool addDrawModeSceneIndex = true

Add scene index resolving usd draw mode.

Definition at line 57 of file sceneIndices.h.

◆ displayUnloadedPrimsWithBounds

bool displayUnloadedPrimsWithBounds = false

Should we switch the draw mode for unloaded prims to bounds.

Definition at line 60 of file sceneIndices.h.

◆ overridesSceneIndexCallback

SceneIndexAppendCallback overridesSceneIndexCallback

A client can insert scene indices after stage scene index.

Definition at line 62 of file sceneIndices.h.

◆ stage

UsdStageRefPtr stage

Stage.

Note that it can be set after the scene indices have been created later by UsdImagingStageSceneIndex::SetStage.

Definition at line 51 of file sceneIndices.h.

◆ stageSceneIndexInputArgs

HdContainerDataSourceHandle stageSceneIndexInputArgs

Inputs to UsdImagingStageSceneIndex (note that includeUnloadedPrims is set automatically when displayUnloadedPrimsWithBounds is enabled).

Definition at line 55 of file sceneIndices.h.


The documentation for this struct was generated from the following file: