24 #ifndef PXR_IMAGING_HD_MATERIAL_H
25 #define PXR_IMAGING_HD_MATERIAL_H
130 std::map<TfToken, HdMaterialNetwork>
map;
179 std::map<SdfPath, HdMaterialNode2>
nodes;
184 return nodes == rhs.
nodes
194 bool *isVolume =
nullptr);
234 #endif // PXR_IMAGING_HD_MATERIAL_H
std::vector< HdMaterialNode > nodes
HD_API bool operator!=(const HdMaterialNetwork &lhs, const HdMaterialNetwork &rhs)
std::map< SdfPath, HdMaterialNode2 > nodes
HD_API ~HdMaterial() override
std::vector< SdfPath > terminals
bool operator==(const HdMaterialConnection2 &rhs) const
HD_API HdSamplerParameters HdGetSamplerParameters(const SdfPath &nodePath, const HdMaterialNode2 &node, const SdrShaderNodeConstPtr &sdrNode)
SdrShaderNode const * SdrShaderNodeConstPtr
std::map< TfToken, HdMaterialNetwork > map
std::map< TfToken, VtValue > parameters
std::map< TfToken, std::vector< HdMaterialConnection2 > > inputConnections
std::vector< HdMaterialRelationship > relationships
std::map< TfToken, HdMaterialConnection2 > terminals
std::vector< TfToken > TfTokenVector
Convenience types.
TfToken upstreamOutputName
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API HdMaterialNetwork2 HdConvertToHdMaterialNetwork2(const HdMaterialNetworkMap &hdNetworkMap, bool *isVolume=nullptr)
Converts a HdMaterialNetworkMap to a HdMaterialNetwork2.
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API std::ostream & operator<<(std::ostream &out, const HdMaterialNetwork &pv)
std::map< TfToken, VtValue > parameters
bool operator==(const HdMaterialNetwork2 &rhs) const
HD_API bool operator==(const HdMaterialRelationship &lhs, const HdMaterialRelationship &rhs)