23 #ifndef PXR_IMAGING_HDSI_PRIM_TYPE_PRUNING_SCENE_INDEX_H
24 #define PXR_IMAGING_HDSI_PRIM_TYPE_PRUNING_SCENE_INDEX_H
34 #define HDSI_PRIM_TYPE_PRUNING_SCENE_INDEX_TOKENS \
37 (doNotPruneNonPrimPaths)
67 static HdsiPrimTypePruningSceneIndexRefPtr
68 New(HdSceneIndexBaseRefPtr
const &inputSceneIndex,
69 HdContainerDataSourceHandle
const &inputArgs);
103 HdSceneIndexBaseRefPtr
const &inputSceneIndex,
104 HdContainerDataSourceHandle
const &inputArgs);
110 bool _PruneType(
const TfToken &primType)
const;
116 const bool _doNotPruneNonPrimPaths;
HDSI_API HdsiPrimTypePruningSceneIndex(HdSceneIndexBaseRefPtr const &inputSceneIndex, HdContainerDataSourceHandle const &inputArgs)
HDSI_API void _PrimsRemoved(const HdSceneIndexBase &sender, const HdSceneIndexObserver::RemovedPrimEntries &entries) override
HDSI_API void _PrimsDirtied(const HdSceneIndexBase &sender, const HdSceneIndexObserver::DirtiedPrimEntries &entries) override
GLsizei const GLchar *const * path
HDSI_API void SetEnabled(bool)
Enable scene index to prune.
#define HDSI_PRIM_TYPE_PRUNING_SCENE_INDEX_TOKENS
HDSI_API ~HdsiPrimTypePruningSceneIndex() override
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
const TfToken & GetBindingToken() const
std::vector< TfToken > TfTokenVector
Convenience types.
HDSI_API void _PrimsAdded(const HdSceneIndexBase &sender, const HdSceneIndexObserver::AddedPrimEntries &entries) override
std::vector< class SdfPath > SdfPathVector
A vector of SdfPaths.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static HDSI_API HdsiPrimTypePruningSceneIndexRefPtr New(HdSceneIndexBaseRefPtr const &inputSceneIndex, HdContainerDataSourceHandle const &inputArgs)
HDSI_API bool GetEnabled() const
Is scene index actually prunning?
#define PXR_NAMESPACE_CLOSE_SCOPE
TF_DECLARE_PUBLIC_TOKENS(HdsiPrimTypePruningSceneIndexTokens, HDSI_API, HDSI_PRIM_TYPE_PRUNING_SCENE_INDEX_TOKENS)
TF_DECLARE_WEAK_AND_REF_PTRS(HdsiPrimTypePruningSceneIndex)