![]() |
|
Implements HdMaterialNetworkInterface for reading from and overriding values within data sources. More...
Public Member Functions | |
HdDataSourceMaterialNetworkInterface (const SdfPath &materialPrimPath, const HdContainerDataSourceHandle &networkContainer) | |
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 &value) 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 |
HD_API HdContainerDataSourceHandle | Finish () |
Additional Inherited Members | |
![]() | |
using | InputConnectionVector = TfSmallVector< InputConnection, 4 > |
using | InputConnectionResult = std::pair< bool, InputConnection > |
Implements HdMaterialNetworkInterface for reading from and overriding values within data sources.
Overrides are managed internally via an HdContainerDataSourceEditor. Calling Finish returns the resulting container data resource representing an individual material network. If nothing is overriden, the input data source is returned.
Definition at line 42 of file dataSourceMaterialNetworkInterface.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 |