Loading...
Searching...
No Matches
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
14PXR_NAMESPACE_OPEN_SCOPE
15
24{
25public:
26 HDSI_API
28
29protected:
30 HDSI_API
31 HdSceneIndexBaseRefPtr _AppendSceneIndex(
32 const HdSceneIndexBaseRefPtr &inputScene,
33 const HdContainerDataSourceHandle &inputArgs) override;
34
35 HDSI_API
37 const HdContainerDataSourceHandle &inputArgs) const override;
38};
39
40PXR_NAMESPACE_CLOSE_SCOPE
41
42#endif // PXR_IMAGING_HDSI_PRIM_ID_SCENE_INDEX_PLUGIN_H
A scene index plugin bundles one or more (typically filtering) scene indices together and enables the...
If the env var HDSI_ENABLE_PRIM_ID_SCENE_INDEX is true, appends an HdsiPrimIdSceneIndex as one of the...
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 ...