HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sceneIndices.h File Reference
+ Include dependency graph for sceneIndices.h:

Go to the source code of this file.

Classes

struct  UsdImagingCreateSceneIndicesInfo
 
struct  UsdImagingSceneIndices
 

Typedefs

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

Functions

PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_REF_PTRS (HdNoticeBatchingSceneIndex)
 
 TF_DECLARE_REF_PTRS (UsdStage)
 
 TF_DECLARE_REF_PTRS (UsdImagingStageSceneIndex)
 
 TF_DECLARE_REF_PTRS (UsdImagingSelectionSceneIndex)
 
USDIMAGING_API
UsdImagingSceneIndices 
UsdImagingCreateSceneIndices (const UsdImagingCreateSceneIndicesInfo &createInfo)
 
USDIMAGING_API
UsdImagingSceneIndices 
UsdImagingCreateSceneIndices (HdContainerDataSourceHandle const &inputArgs, const UsdImagingSceneIndexAppendCallback &overridesSceneIndexCallback)
 

Typedef Documentation

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

Definition at line 28 of file sceneIndices.h.

Function Documentation

TF_DECLARE_REF_PTRS ( UsdStage  )
TF_DECLARE_REF_PTRS ( UsdImagingStageSceneIndex  )
TF_DECLARE_REF_PTRS ( UsdImagingSelectionSceneIndex  )
USDIMAGING_API UsdImagingSceneIndices UsdImagingCreateSceneIndices ( const UsdImagingCreateSceneIndicesInfo createInfo)

Creates a chain of filtering scene indices for clients to consume a UsdStage.

USDIMAGING_API UsdImagingSceneIndices UsdImagingCreateSceneIndices ( HdContainerDataSourceHandle const &  inputArgs,
const UsdImagingSceneIndexAppendCallback overridesSceneIndexCallback 
)

New API that gets us closer to the direction that all scene indices are created with inputArgs which come by overlaying the container data sources from the application and from HdRendererPlugin::GetSceneIndexInputArgs().

We have not moved UsdImagingSceneIndexAppendCallback into inputArgs because a std::function is not a value type (no operator==) and, thus, cannot be returned by a HdTypedSampledDataSource. We might also revisit the return type.