HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdImagingCreateSceneIndicesInfo Struct Reference

#include <sceneIndices.h>

Public Types

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

Public Attributes

UsdStageRefPtr stage
 
HdContainerDataSourceHandle stageSceneIndexInputArgs
 
bool addDrawModeSceneIndex = true
 Add scene index resolving usd draw mode. More...
 
bool displayUnloadedPrimsWithBounds = false
 
SceneIndexAppendCallback overridesSceneIndexCallback
 A client can insert scene indices after stage scene index. More...
 

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

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

Definition at line 47 of file sceneIndices.h.

Member Data Documentation

bool UsdImagingCreateSceneIndicesInfo::addDrawModeSceneIndex = true

Add scene index resolving usd draw mode.

Definition at line 57 of file sceneIndices.h.

bool UsdImagingCreateSceneIndicesInfo::displayUnloadedPrimsWithBounds = false

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

Definition at line 60 of file sceneIndices.h.

SceneIndexAppendCallback UsdImagingCreateSceneIndicesInfo::overridesSceneIndexCallback

A client can insert scene indices after stage scene index.

Definition at line 62 of file sceneIndices.h.

UsdStageRefPtr UsdImagingCreateSceneIndicesInfo::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.

HdContainerDataSourceHandle UsdImagingCreateSceneIndicesInfo::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: