Loading...
Searching...
No Matches
HdStMaterialNetwork Class Referencefinal

Helps HdStMaterial process a Hydra material network into shader source code and parameters values. More...

#include <materialNetwork.h>

Public Types

using TextureDescriptorVector = std::vector<TextureDescriptor>
 

Public Member Functions

HDST_API void ProcessMaterialNetwork (SdfPath const &materialId, HdMaterialNetworkMap const &hdNetworkMap, HdStResourceRegistry *resourceRegistry)
 Process a material network topology and extract all the information we need from it.
 
HDST_API TfToken const & GetMaterialTag () const
 
HDST_API std::string const & GetFragmentCode () const
 
HDST_API std::string const & GetVolumeCode () const
 
HDST_API std::string const & GetDisplacementCode () const
 
HDST_API VtDictionary const & GetMetadata () const
 
HDST_API HdSt_MaterialParamVector const & GetMaterialParams () const
 
HDST_API TextureDescriptorVector const & GetTextureDescriptors () const
 

Detailed Description

Helps HdStMaterial process a Hydra material network into shader source code and parameters values.

Definition at line 31 of file materialNetwork.h.

Member Typedef Documentation

◆ TextureDescriptorVector

using TextureDescriptorVector = std::vector<TextureDescriptor>

Definition at line 90 of file materialNetwork.h.

Member Function Documentation

◆ ProcessMaterialNetwork()

HDST_API void ProcessMaterialNetwork ( SdfPath const & materialId,
HdMaterialNetworkMap const & hdNetworkMap,
HdStResourceRegistry * resourceRegistry )

Process a material network topology and extract all the information we need from it.


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