7 #ifndef PXR_IMAGING_HDSI_LEGACY_DISPLAY_STYLE_OVERRIDE_SCENE_INDEX_H 8 #define PXR_IMAGING_HDSI_LEGACY_DISPLAY_STYLE_OVERRIDE_SCENE_INDEX_H 11 #include "pxr/imaging/hdsi/api.h" 12 #include "pxr/imaging/hd/filteringSceneIndex.h" 16 PXR_NAMESPACE_OPEN_SCOPE
18 namespace HdsiLegacyDisplayStyleSceneIndex_Impl
21 using _StyleInfoSharedPtr = std::shared_ptr<_StyleInfo>;
43 static HdsiLegacyDisplayStyleOverrideSceneIndexRefPtr
44 New(
const HdSceneIndexBaseRefPtr &inputSceneIndex);
74 const HdSceneIndexBaseRefPtr &inputSceneIndex);
91 HdsiLegacyDisplayStyleSceneIndex_Impl::
92 _StyleInfoSharedPtr
const _styleInfo;
95 HdContainerDataSourceHandle
const _underlayDs;
98 PXR_NAMESPACE_CLOSE_SCOPE
100 #endif //PXR_IMAGING_HDSI_LEGACY_DISPLAY_STYLE_OVERRIDE_SCENE_INDEX_H
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
Small struct representing a 'prim' in the Hydra scene index.
Token for efficient comparison, assignment, and hashing of known strings.
A scene index providing override fallback values for the legacy display style for each prim.
Abstract interface to scene data.
Represents a set of data source locators closed under descendancy.
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
HDSI_API void SetRefineLevelFallback(const std::optional< int > &refineLevelFallback)
Sets the refineLevelFallback (at data source locator displayStyle:refineLevel) for every prim in the ...
HDSI_API void SetCullStyleFallback(const TfToken &cullStyleFallback)
Sets the cullStyleFallback (at data source locator displayStyle:cullStyleFallback) for every prim in ...