|
| | HdMaterialNetwork2Interface (const SdfPath &materialPrimPath, HdMaterialNetwork2 *materialNetwork) |
| |
| HD_API SdfPath | GetMaterialPrimPath () const override |
| |
| HD_API TfTokenVector | GetMaterialConfigKeys () const override |
| | Material config is a collection of data related to the entire material, e.g.
|
| |
| HD_API VtValue | GetMaterialConfigValue (const TfToken &key) const override |
| |
| HD_API std::string | GetModelAssetName () const override |
| | Returns the nearest enclosing model asset name, as described by the model schema, or empty string if none is available.
|
| |
| HD_API TfTokenVector | GetNodeNames () const override |
| |
| HD_API TfToken | GetNodeType (const TfToken &nodeName) const override |
| |
| HD_API TfTokenVector | GetNodeTypeInfoKeys (const TfToken &nodeName) const override |
| | Node type info is a collection of data related to the node type, often used to determine the node type.
|
| |
| HD_API VtValue | GetNodeTypeInfoValue (const TfToken &nodeName, const TfToken &key) const override |
| |
| HD_API TfTokenVector | GetAuthoredNodeParameterNames (const TfToken &nodeName) const override |
| |
| HD_API VtValue | GetNodeParameterValue (const TfToken &nodeName, const TfToken ¶mName) const override |
| |
| HD_API NodeParamData | GetNodeParameterData (const TfToken &nodeName, const TfToken ¶mName) const override |
| |
| HD_API TfTokenVector | GetNodeInputConnectionNames (const TfToken &nodeName) const override |
| |
| HD_API InputConnectionVector | GetNodeInputConnection (const TfToken &nodeName, const TfToken &inputName) const override |
| |
| HD_API void | DeleteNode (const TfToken &nodeName) override |
| |
| HD_API void | SetNodeType (const TfToken &nodeName, const TfToken &nodeType) override |
| |
| virtual HD_API void | SetNodeTypeInfoValue (const TfToken &nodeName, const TfToken &key, const VtValue &value) override |
| |
| HD_API void | SetNodeParameterValue (const TfToken &nodeName, const TfToken ¶mName, const VtValue &value) override |
| |
| HD_API void | SetNodeParameterData (const TfToken &nodeName, const TfToken ¶mName, const NodeParamData ¶mData) override |
| |
| HD_API void | DeleteNodeParameter (const TfToken &nodeName, const TfToken ¶mName) override |
| |
| HD_API void | SetNodeInputConnection (const TfToken &nodeName, const TfToken &inputName, const InputConnectionVector &connections) override |
| |
| HD_API void | DeleteNodeInputConnection (const TfToken &nodeName, const TfToken &inputName) override |
| |
| HD_API TfTokenVector | GetTerminalNames () const override |
| |
| HD_API InputConnectionResult | GetTerminalConnection (const TfToken &terminalName) const override |
| |
| HD_API void | DeleteTerminal (const TfToken &terminalName) override |
| |
| HD_API void | SetTerminalConnection (const TfToken &terminalName, const InputConnection &connection) override |
| |
Implements HdMaterialNetworkInterface interface backed by an HdMaterialNetwork2 – which is useful for implementing material filtering functions without being tied to the legacy data model.
Definition at line 22 of file materialNetwork2Interface.h.
Material config is a collection of data related to the entire material, e.g.
material definition version, etc.
Similarly to GetNodeTypeInfoXXX() below, only getters are provided, as we don't intend to mutate this config data.
Implements HdMaterialNetworkInterface.