HDK
|
#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 |
Helps HdStMaterial process a Hydra material network into shader source code and parameters values.
Definition at line 44 of file materialNetwork.h.
using HdStMaterialNetwork::TextureDescriptorVector = std::vector<TextureDescriptor> |
Definition at line 106 of file materialNetwork.h.
HDST_API HdStMaterialNetwork::HdStMaterialNetwork | ( | ) |
HDST_API HdStMaterialNetwork::~HdStMaterialNetwork | ( | ) |
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 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.