7#ifndef PXR_IMAGING_HD_SCENE_INDEX_PLUGIN_H
8#define PXR_IMAGING_HD_SCENE_INDEX_PLUGIN_H
11#include "pxr/imaging/hd/api.h"
12#include "pxr/imaging/hf/pluginBase.h"
13#include "pxr/imaging/hd/sceneIndex.h"
15PXR_NAMESPACE_OPEN_SCOPE
81 HdSceneIndexBaseRefPtr AppendSceneIndex(
82 const std::string &renderInstanceId,
83 const HdSceneIndexBaseRefPtr &inputScene,
84 const HdContainerDataSourceHandle &inputArgs);
98 const HdContainerDataSourceHandle &inputArgs)
const;
108 const HdSceneIndexBaseRefPtr &inputScene,
109 const HdContainerDataSourceHandle &inputArgs);
123 const std::string &renderInstanceId,
124 const HdSceneIndexBaseRefPtr &inputScene,
125 const HdContainerDataSourceHandle &inputArgs);
134 const HdContainerDataSourceHandle &inputArgs)
const;
142PXR_NAMESPACE_CLOSE_SCOPE
A scene index plugin bundles one or more (typically filtering) scene indices together and enables the...
virtual HD_API bool _IsEnabled(const HdContainerDataSourceHandle &inputArgs) const
Subclasses implement this to indicate whether the plugin is enabled.
HD_API bool IsEnabled(const HdContainerDataSourceHandle &inputArgs) const
Returns true if the plugin is enabled, in the sense that it should be consulted for its contribution ...
virtual HD_API HdSceneIndexBaseRefPtr _AppendSceneIndex(const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs)
Subclasses implement this to instantiate one or more scene indicies which take the provided scene as ...
virtual HD_API HdSceneIndexBaseRefPtr _AppendSceneIndex(const std::string &renderInstanceId, const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs)
Subclasses implement this to instantiate one or more scene indicies which take the provided scene as ...
Base class for all hydra plugin classes.