HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
material.h File Reference
+ Include dependency graph for material.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HdMaterial
 
struct  HdMaterialRelationship
 
struct  HdMaterialNode
 
struct  HdMaterialNetwork
 
struct  HdMaterialNetworkMap
 
struct  HdMaterialConnection2
 
struct  HdMaterialNode2
 
struct  HdMaterialNetwork2
 

Functions

HD_API bool operator== (const HdMaterialRelationship &lhs, const HdMaterialRelationship &rhs)
 
HD_API bool operator== (const HdMaterialNode &lhs, const HdMaterialNode &rhs)
 
HD_API HdMaterialNetwork2 HdConvertToHdMaterialNetwork2 (const HdMaterialNetworkMap &hdNetworkMap, bool *isVolume=nullptr)
 Converts a HdMaterialNetworkMap to a HdMaterialNetwork2. More...
 
HD_API HdSamplerParameters HdGetSamplerParameters (const SdfPath &nodePath, const HdMaterialNode2 &node, const SdrShaderNodeConstPtr &sdrNode)
 
HD_API std::ostream & operator<< (std::ostream &out, const HdMaterialNetwork &pv)
 
HD_API bool operator== (const HdMaterialNetwork &lhs, const HdMaterialNetwork &rhs)
 
HD_API bool operator!= (const HdMaterialNetwork &lhs, const HdMaterialNetwork &rhs)
 
HD_API std::ostream & operator<< (std::ostream &out, const HdMaterialNetworkMap &pv)
 
HD_API bool operator== (const HdMaterialNetworkMap &lhs, const HdMaterialNetworkMap &rhs)
 
HD_API bool operator!= (const HdMaterialNetworkMap &lhs, const HdMaterialNetworkMap &rhs)
 
HD_API std::ostream & operator<< (std::ostream &out, const HdMaterialNode2 &pv)
 
HD_API bool operator== (const HdMaterialNode2 &lhs, const HdMaterialNode2 &rhs)
 
HD_API bool operator!= (const HdMaterialNode2 &lhs, const HdMaterialNode2 &rhs)
 

Function Documentation

HD_API HdMaterialNetwork2 HdConvertToHdMaterialNetwork2 ( const HdMaterialNetworkMap hdNetworkMap,
bool *  isVolume = nullptr 
)
HD_API HdSamplerParameters HdGetSamplerParameters ( const SdfPath nodePath,
const HdMaterialNode2 node,
const SdrShaderNodeConstPtr sdrNode 
)

Extracts HdSamplerParameters from the parameters on the HdMaterialNode2 if present. Otherwise extracts the sampler parameters from the SdrNode.

HD_API bool operator!= ( const HdMaterialNetwork lhs,
const HdMaterialNetwork rhs 
)
HD_API bool operator!= ( const HdMaterialNetworkMap lhs,
const HdMaterialNetworkMap rhs 
)
HD_API bool operator!= ( const HdMaterialNode2 lhs,
const HdMaterialNode2 rhs 
)
HD_API std::ostream& operator<< ( std::ostream &  out,
const HdMaterialNetwork pv 
)
HD_API std::ostream& operator<< ( std::ostream &  out,
const HdMaterialNetworkMap pv 
)
HD_API std::ostream& operator<< ( std::ostream &  out,
const HdMaterialNode2 pv 
)
HD_API bool operator== ( const HdMaterialRelationship lhs,
const HdMaterialRelationship rhs 
)
HD_API bool operator== ( const HdMaterialNode lhs,
const HdMaterialNode rhs 
)
HD_API bool operator== ( const HdMaterialNetwork lhs,
const HdMaterialNetwork rhs 
)
HD_API bool operator== ( const HdMaterialNetworkMap lhs,
const HdMaterialNetworkMap rhs 
)
HD_API bool operator== ( const HdMaterialNode2 lhs,
const HdMaterialNode2 rhs 
)