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"
16PXR_NAMESPACE_OPEN_SCOPE
18namespace HdsiLegacyDisplayStyleSceneIndex_Impl
21using _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;
98PXR_NAMESPACE_CLOSE_SCOPE
Represents a set of data source locators closed under descendancy.
Abstract interface to scene data.
A scene index providing override fallback values for the legacy display style for each prim.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
HDSI_API void SetCullStyleFallback(const TfToken &cullStyleFallback)
Sets the cullStyleFallback (at data source locator displayStyle:cullStyleFallback) for every prim in ...
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 SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.