HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdSt_DependencySceneIndexPlugin Class Reference

#include <dependencySceneIndexPlugin.h>

+ Inheritance diagram for HdSt_DependencySceneIndexPlugin:

Public Member Functions

 HdSt_DependencySceneIndexPlugin ()
 
- Public Member Functions inherited from HdSceneIndexPlugin
HD_API HdSceneIndexBaseRefPtr AppendSceneIndex (const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs)
 
- Public Member Functions inherited from HfPluginBase
virtual HF_API ~HfPluginBase ()
 

Protected Member Functions

HdSceneIndexBaseRefPtr _AppendSceneIndex (const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs) override
 
- Protected Member Functions inherited from HdSceneIndexPlugin
 HdSceneIndexPlugin ()=default
 
HD_API ~HdSceneIndexPlugin () override
 
- Protected Member Functions inherited from HfPluginBase
HF_API HfPluginBase ()=default
 

Detailed Description

Plugin adds a chain of its own scene index generating dependencies and a dependency forwarding scene index to the Storm render delegate.

Together, this chain will dirty the volumeFieldBinding data source locator of a volume prim if any of the targeted volume fields changes. That is, if, e.g., the filePath of a volume field changes, then the volume using that volume field will be dirtied so that HdStVolume will update which 3d textures it will use.

Definition at line 44 of file dependencySceneIndexPlugin.h.

Constructor & Destructor Documentation

HdSt_DependencySceneIndexPlugin::HdSt_DependencySceneIndexPlugin ( )

Member Function Documentation

HdSceneIndexBaseRefPtr HdSt_DependencySceneIndexPlugin::_AppendSceneIndex ( const HdSceneIndexBaseRefPtr &  inputScene,
const HdContainerDataSourceHandle &  inputArgs 
)
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.


The documentation for this class was generated from the following file: