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)
 
HDST_API TfToken constGetMaterialTag () const
 
HDST_API std::string constGetFragmentCode () const
 
HDST_API std::string constGetGeometryCode () const
 
HDST_API VtDictionary constGetMetadata () const
 
HDST_API
HdSt_MaterialParamVector const
GetMaterialParams () const
 
HDST_API
TextureDescriptorVector const
GetTextureDescriptors () const
 
HDST_API void ClearGlslfx ()
 Primarily used during reload of the material (glslfx may have changed) More...
 

Detailed Description

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

Definition at line 43 of file materialNetwork.h.

Member Typedef Documentation

Definition at line 105 of file materialNetwork.h.

Constructor & Destructor Documentation

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

Member Function Documentation

HDST_API void HdStMaterialNetwork::ClearGlslfx ( )

Primarily used during reload of the material (glslfx may have changed)

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 void HdStMaterialNetwork::ProcessMaterialNetwork ( SdfPath const materialId,
HdMaterialNetworkMap const hdNetworkMap 
)

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: