debuggingSceneIndexPlugin.h
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_HDSI_DEBUGGING_SCENE_INDEX_PLUGIN_H
8 #define PXR_IMAGING_HDSI_DEBUGGING_SCENE_INDEX_PLUGIN_H
9 
10 #include "pxr/imaging/hd/sceneIndexPlugin.h"
11 #include "pxr/imaging/hdsi/api.h"
12 #include "pxr/pxr.h"
13 
14 PXR_NAMESPACE_OPEN_SCOPE
15 
22 {
23 public:
24  HDSI_API
26 
27 protected:
28  HDSI_API
29  HdSceneIndexBaseRefPtr _AppendSceneIndex(
30  const HdSceneIndexBaseRefPtr &inputScene,
31  const HdContainerDataSourceHandle &inputArgs) override;
32 
33  HDSI_API
34  bool _IsEnabled(
35  const HdContainerDataSourceHandle &inputArgs) const override;
36 };
37 
38 PXR_NAMESPACE_CLOSE_SCOPE
39 
40 #endif // PXR_IMAGING_HD_DEBUGGING_SCENE_INDEX_PLUGIN_H
Registers debugging scene index if env var HDSI_DEBUGGING_SCENE_INDEX_INSERTION_PHASE is an integer.
HDSI_API bool _IsEnabled(const HdContainerDataSourceHandle &inputArgs) const override
Subclasses implement this to indicate whether the plugin is enabled.
HDSI_API HdSceneIndexBaseRefPtr _AppendSceneIndex(const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs) override
Subclasses implement this to instantiate one or more scene indicies which take the provided scene as ...
A scene index plugin bundles one or more (typically filtering) scene indices together and enables the...