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 constGetMaterialTag () const
 
HDST_API std::string constGetFragmentCode () const
 
HDST_API std::string constGetVolumeCode () const
 
HDST_API std::string constGetGeometryCode () const
 
HDST_API std::string constGetDisplacementCode () const
 
HDST_API VtDictionary constGetMetadata () 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: