7 #ifndef PXR_IMAGING_HDSI_LOCATOR_CACHING_SCENE_INDEX
8 #define PXR_IMAGING_HDSI_LOCATOR_CACHING_SCENE_INDEX
148 static HdSceneIndexBaseRefPtr
150 HdSceneIndexBaseRefPtr
const& inputScene,
152 TfToken const& primTypeToCache);
167 static HdsiLocatorCachingSceneIndexRefPtr
168 New(HdSceneIndexBaseRefPtr
const& inputScene,
170 TfToken const& primTypeToCache);
184 HdSceneIndexBaseRefPtr
const& inputScene,
186 TfToken const& primTypeToCache);
210 HdsiLocatorCachingSceneIndex
const* cachingSceneIndex,
213 HdContainerDataSourceHandle
const& inputDataSource);
215 const HdsiLocatorCachingSceneIndex& _cachingSceneIndex;
218 const HdContainerDataSourceHandle _inputDataSource;
223 HdDataSourceBaseHandle
227 HdContainerDataSourceHandle
const& inputDataSource)
const;
240 const TfToken _primTypeToCache;
244 mutable std::mutex _cacheMutex;
void _PrimsDirtied(const HdSceneIndexBase &sender, const HdSceneIndexObserver::DirtiedPrimEntries &entries) override
void _PrimsRemoved(const HdSceneIndexBase &sender, const HdSceneIndexObserver::RemovedPrimEntries &entries) override
HD_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
#define PXR_NAMESPACE_OPEN_SCOPE
HD_API HdsiLocatorCachingSceneIndex(HdSceneIndexBaseRefPtr const &inputScene, HdDataSourceLocator const &locatorToCache, TfToken const &primTypeToCache)
TfTokenVector GetNames() override
void _PrimsAdded(const HdSceneIndexBase &sender, const HdSceneIndexObserver::AddedPrimEntries &entries) override
static HD_API HdsiLocatorCachingSceneIndexRefPtr New(HdSceneIndexBaseRefPtr const &inputScene, HdDataSourceLocator const &locatorToCache, TfToken const &primTypeToCache)
std::vector< class SdfPath > SdfPathVector
HdDataSourceBaseHandle _GetWithCache(SdfPath const &primPath, HdDataSourceLocator const &locator, HdContainerDataSourceHandle const &inputDataSource) const
std::vector< TfToken > TfTokenVector
Convenience types.
GLuint const GLchar * name
HD_DECLARE_DATASOURCE(_DataSource)
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API ~HdsiLocatorCachingSceneIndex() override
HdDataSourceBaseHandle Get(const TfToken &name) override
static HD_API HdSceneIndexBaseRefPtr AddDependencyForwardingAndCache(HdSceneIndexBaseRefPtr const &inputScene, HdDataSourceLocator const &locatorToCache, TfToken const &primTypeToCache)
HD_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_REF_PTRS(HdsiLocatorCachingSceneIndex)