24 #ifndef PXR_IMAGING_HD_MERGING_SCENE_H
25 #define PXR_IMAGING_HD_MERGING_SCENE_H
46 static HdMergingSceneIndexRefPtr
New() {
56 const HdSceneIndexBaseRefPtr &inputScene,
57 const SdfPath &activeInputSceneRoot);
64 std::vector<HdSceneIndexBaseRefPtr>
GetInputScenes()
const override;
101 const AddedPrimEntries &entries)
override;
105 const RemovedPrimEntries &entries)
override;
109 const DirtiedPrimEntries &entries)
override;
113 const RenamedPrimEntries &entries)
override;
123 HdSceneIndexBaseRefPtr sceneIndex;
126 _InputEntry(
const HdSceneIndexBaseRefPtr &sceneIndex,
128 : sceneIndex(sceneIndex)
129 , sceneRoot(sceneRoot)
134 using _InputEntries = std::vector<_InputEntry>;
136 _InputEntries _inputs;
142 #endif //PXR_IMAGING_HD_MERGING_SCENE_H
HD_API std::vector< HdSceneIndexBaseRefPtr > GetInputScenes() const override
satisfying HdFilteringSceneIndex
TfRefPtr< T > TfCreateRefPtr(T *ptr)
HD_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
TF_DECLARE_REF_PTRS(HdMergingSceneIndex)
HD_API HdMergingSceneIndex()
std::vector< class SdfPath > SdfPathVector
A vector of SdfPaths.
static HdMergingSceneIndexRefPtr New()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API void RemoveInputScene(const HdSceneIndexBaseRefPtr &sceneIndex)
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API void AddInputScene(const HdSceneIndexBaseRefPtr &inputScene, const SdfPath &activeInputSceneRoot)
HD_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override