![]() |
|
Implements HdMaterialNetworkInterface interface backed by an HdMaterialNetwork2 – which is useful for implementing material filtering functions without being tied to the legacy data model. More...
Public Member Functions | |
HdMaterialNetwork2Interface (const SdfPath &materialPrimPath, HdMaterialNetwork2 *materialNetwork) | |
SdfPath | GetMaterialPrimPath () const override |
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. More... | |
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 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 |
HD_API void | SetNodeParameterValue (const TfToken &nodeName, const TfToken ¶mName, const VtValue &value) 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 |
Additional Inherited Members | |
![]() | |
using | InputConnectionVector = TfSmallVector< InputConnection, 4 > |
using | InputConnectionResult = std::pair< bool, InputConnection > |
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 39 of file materialNetwork2Interface.h.
|
overridevirtual |
Node type info is a collection of data related to the node type, often used to determine the node type.
For now, we only have getters for this, as we aren't really intending on mutating this in any filter.
Implements HdMaterialNetworkInterface.
|
overridevirtual |