HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdStMaterialNetwork Class Referencefinal

#include <materialNetwork.h>

Classes

struct  TextureDescriptor
 

Public Types

using TextureDescriptorVector = std::vector< TextureDescriptor >
 

Public Member Functions

HDST_API HdStMaterialNetwork ()
 
HDST_API ~HdStMaterialNetwork ()
 
HDST_API void ProcessMaterialNetwork (SdfPath const &materialId, HdMaterialNetworkMap const &hdNetworkMap, HdStResourceRegistry *resourceRegistry)
 
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 & GetGeometryCode () 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 44 of file materialNetwork.h.

Member Typedef Documentation

Definition at line 106 of file materialNetwork.h.

Constructor & Destructor Documentation

HDST_API HdStMaterialNetwork::HdStMaterialNetwork ( )
HDST_API HdStMaterialNetwork::~HdStMaterialNetwork ( )

Member Function Documentation

HDST_API std::string const& HdStMaterialNetwork::GetDisplacementCode ( ) const
HDST_API std::string const& HdStMaterialNetwork::GetFragmentCode ( ) const
HDST_API std::string const& HdStMaterialNetwork::GetGeometryCode ( ) const
HDST_API HdSt_MaterialParamVector const& HdStMaterialNetwork::GetMaterialParams ( ) const
HDST_API TfToken const& HdStMaterialNetwork::GetMaterialTag ( ) const
HDST_API VtDictionary const& HdStMaterialNetwork::GetMetadata ( ) const
HDST_API TextureDescriptorVector const& HdStMaterialNetwork::GetTextureDescriptors ( ) const
HDST_API std::string const& HdStMaterialNetwork::GetVolumeCode ( ) const
HDST_API void HdStMaterialNetwork::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: