6#ifndef PXR_IMAGING_HDSI_SCENE_MATERIAL_PRUNING_SCENE_INDEX_H
7#define PXR_IMAGING_HDSI_SCENE_MATERIAL_PRUNING_SCENE_INDEX_H
11#include "pxr/imaging/hd/filteringSceneIndex.h"
12#include "pxr/imaging/hdsi/api.h"
14PXR_NAMESPACE_OPEN_SCOPE
18namespace HdsiSceneMaterialPruningSceneIndex_Impl
22using _InfoSharedPtr = std::shared_ptr<_Info>;
50 static HdsiSceneMaterialPruningSceneIndexRefPtr
51 New(HdSceneIndexBaseRefPtr
const &inputSceneIndex);
83 HdSceneIndexBaseRefPtr
const &inputSceneIndex);
87 void _ProcessDirtiedEntryHelper(
91 HdsiSceneMaterialPruningSceneIndex_Impl::_InfoSharedPtr
const _info;
94PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
A scene index that prunes materials and material bindings.
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.
HDSI_API bool GetEnabled() const
Is scene index actually pruning?
HDSI_API void SetEnabled(bool)
Enable scene index to prune.
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
A notice indicating a prim was invalidated.
Small struct representing a 'prim' in the Hydra scene index.