7#ifndef PXR_IMAGING_HD_LEGACY_PRIM_SCENE_INDEX_H
8#define PXR_IMAGING_HD_LEGACY_PRIM_SCENE_INDEX_H
10#include "pxr/imaging/hd/retainedSceneIndex.h"
12PXR_NAMESPACE_OPEN_SCOPE
15using HdLegacyTaskFactorySharedPtr = std::shared_ptr<class HdLegacyTaskFactory>;
31 static HdLegacyPrimSceneIndexRefPtr New() {
45 HdLegacyTaskFactorySharedPtr factory);
64PXR_NAMESPACE_CLOSE_SCOPE
Extends HdRetainedSceneIndex to instantiate and dirty HdDataSourceLegacyPrim data sources.
void DirtyPrims(const HdSceneIndexObserver::DirtiedPrimEntries &entries) override
extends to also call DirtyPrim on HdDataSourceLegacyPrim
void RemovePrim(SdfPath const &id)
Remove only the prim at id without affecting children.
void AddLegacyPrim(SdfPath const &id, TfToken const &type, HdSceneDelegate *sceneDelegate)
Custom insertion wrapper called by HdRenderIndex during population of legacy HdSceneDelegate's.
void AddLegacyTask(SdfPath const &id, HdSceneDelegate *sceneDelegate, HdLegacyTaskFactorySharedPtr factory)
Custom insertion wrapper called by HdRenderIndex::InsertTask<T> during population of legacy HdSceneDe...
Concrete scene container which can be externally populated and dirtied.
Adapter class providing data exchange with the client scene graph.
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.