HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
unboundMaterialPruningSceneIndexPlugin.h
Go to the documentation of this file.
1 //
2 // Copyright 2025 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 
7 #ifndef PXR_IMAGING_HD_ST_UNBOUND_MATERIAL_PRUNING_SCENE_INDEX_PLUGIN_H
8 #define PXR_IMAGING_HD_ST_UNBOUND_MATERIAL_PRUNING_SCENE_INDEX_PLUGIN_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/imaging/hdSt/api.h"
13 
15 
16 /// \class HdSt_UnboundMaterialPruningSceneIndexPlugin
17 ///
18 /// Plugin adds a scene index that prunes material prims that are not bound.
19 ///
21 {
22 public:
24 
25 protected:
26  HdSceneIndexBaseRefPtr _AppendSceneIndex(
27  const HdSceneIndexBaseRefPtr &inputScene,
28  const HdContainerDataSourceHandle &inputArgs) override;
29 
30  bool _IsEnabled(
31  const HdContainerDataSourceHandle &inputArgs) const override;
32 };
33 
35 
36 #endif // PXR_IMAGING_HD_ST_UNBOUND_MATERIAL_PRUNING_SCENE_INDEX_PLUGIN_H
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
HdSceneIndexBaseRefPtr _AppendSceneIndex(const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs) override
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
bool _IsEnabled(const HdContainerDataSourceHandle &inputArgs) const override