primIdSceneIndexPlugin.h
1 //
2 // Copyright 2026 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_PRIM_ID_SCENE_INDEX_PLUGIN_H
8 #define PXR_IMAGING_HDSI_PRIM_ID_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 
24 {
25 public:
26  HDSI_API
28 
29 protected:
30  HDSI_API
31  HdSceneIndexBaseRefPtr _AppendSceneIndex(
32  const HdSceneIndexBaseRefPtr &inputScene,
33  const HdContainerDataSourceHandle &inputArgs) override;
34 };
35 
36 PXR_NAMESPACE_CLOSE_SCOPE
37 
38 #endif // PXR_IMAGING_HDSI_PRIM_ID_SCENE_INDEX_PLUGIN_H
If the env var HDSI_ENABLE_PRIM_ID_SCENE_INDEX is true, appends an HdsiPrimIdSceneIndex as one of the...
A scene index plugin bundles one or more (typically filtering) scene indices together and enables the...
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 ...