6 #ifndef PXR_IMAGING_HDSI_RENDER_PASS_PRUNE_SCENE_INDEX_H
7 #define PXR_IMAGING_HDSI_RENDER_PASS_PRUNE_SCENE_INDEX_H
10 #if PXR_VERSION >= 2408
26 class HdsiRenderPassPruneSceneIndex :
31 static HdsiRenderPassPruneSceneIndexRefPtr
32 New(
const HdSceneIndexBaseRefPtr& inputSceneIndex);
41 HdsiRenderPassPruneSceneIndex(
42 const HdSceneIndexBaseRefPtr& inputSceneIndex);
44 ~HdsiRenderPassPruneSceneIndex()
override;
61 struct _RenderPassPruneState {
68 std::optional<HdCollectionExpressionEvaluator> pruneEval;
70 bool DoesPrune(
const SdfPath &primPath)
const;
75 void _UpdateActiveRenderPassState(
80 _RenderPassPruneState _activeRenderPass;
83 bool _hasPopulated =
false;
89 #endif // PXR_VERSION >= 2408
#define PXR_NAMESPACE_OPEN_SCOPE
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
virtual SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const =0
std::vector< class SdfPath > SdfPathVector
virtual HdSceneIndexPrim GetPrim(const SdfPath &primPath) const =0
#define PXR_NAMESPACE_CLOSE_SCOPE