|
HDK
|
#include <unboundMaterialPruningSceneIndexPlugin.h>
Inheritance diagram for HdSt_UnboundMaterialPruningSceneIndexPlugin:Public Member Functions | |
| HdSt_UnboundMaterialPruningSceneIndexPlugin () | |
Public Member Functions inherited from HdSceneIndexPlugin | |
| HD_API HdSceneIndexBaseRefPtr | AppendSceneIndex (const std::string &renderInstanceId, const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs) |
| HD_API bool | IsEnabled (const HdContainerDataSourceHandle &inputArgs) const |
Public Member Functions inherited from HfPluginBase | |
| virtual HF_API | ~HfPluginBase () |
Protected Member Functions | |
| HdSceneIndexBaseRefPtr | _AppendSceneIndex (const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs) override |
| bool | _IsEnabled (const HdContainerDataSourceHandle &inputArgs) const override |
Protected Member Functions inherited from HdSceneIndexPlugin | |
| virtual HD_API HdSceneIndexBaseRefPtr | _AppendSceneIndex (const std::string &renderInstanceId, const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs) |
| HdSceneIndexPlugin ()=default | |
| HD_API | ~HdSceneIndexPlugin () override |
Protected Member Functions inherited from HfPluginBase | |
| HF_API | HfPluginBase ()=default |
Plugin adds a scene index that prunes material prims that are not bound.
Definition at line 20 of file unboundMaterialPruningSceneIndexPlugin.h.
| HdSt_UnboundMaterialPruningSceneIndexPlugin::HdSt_UnboundMaterialPruningSceneIndexPlugin | ( | ) |
|
overrideprotectedvirtual |
Subclasses implement this to instantiate one or more scene indicies which take the provided scene as input. The return value should be the final scene created – or the inputScene itself if nothing is created.
Reimplemented from HdSceneIndexPlugin.
|
overrideprotectedvirtual |
Subclasses implement this to indicate whether the plugin is enabled. This is preferable to using env guards to gate registration and scene index instatiation in _AppendSceneIndex.
Base implementation returns true.
Reimplemented from HdSceneIndexPlugin.