24 #ifndef HD_MATERIAL_NETWORK_2_INTERFACE_H
25 #define HD_MATERIAL_NETWORK_2_INTERFACE_H
45 const SdfPath &materialPrimPath,
47 : _materialPrimPath(materialPrimPath)
48 , _materialNetwork(materialNetwork)
49 , _lastAccessedNode(nullptr)
54 return _materialPrimPath;
77 const TfToken &nodeName)
const override;
82 const TfToken ¶mName)
const override;
87 const TfToken ¶mName)
const override;
91 const TfToken &nodeName)
const override;
96 const TfToken &inputName)
const override;
104 const TfToken &nodeType)
override;
116 const NodeParamData ¶mData)
override;
121 const TfToken ¶mName)
override;
132 const TfToken &inputName)
override;
139 const TfToken &terminalName)
const override;
147 const InputConnection &connection)
override;
152 mutable TfToken _lastAccessedNodeName;
164 #endif //HD_MATERIAL_NETWORK_2_INTERFACE_H
HD_API TfTokenVector GetTerminalNames() const override
HD_API void SetNodeParameterValue(const TfToken &nodeName, const TfToken ¶mName, const VtValue &value) override
GLsizei const GLchar *const * string
HD_API NodeParamData GetNodeParameterData(const TfToken &nodeName, const TfToken ¶mName) const override
HD_API void DeleteTerminal(const TfToken &terminalName) override
HD_API void DeleteNode(const TfToken &nodeName) override
HD_API std::string GetModelAssetName() const override
HD_API VtValue GetNodeParameterValue(const TfToken &nodeName, const TfToken ¶mName) const override
HD_API InputConnectionResult GetTerminalConnection(const TfToken &terminalName) const override
HD_API TfTokenVector GetNodeInputConnectionNames(const TfToken &nodeName) const override
HD_API void DeleteNodeParameter(const TfToken &nodeName, const TfToken ¶mName) override
HD_API void SetNodeParameterData(const TfToken &nodeName, const TfToken ¶mName, const NodeParamData ¶mData) override
HD_API TfToken GetNodeType(const TfToken &nodeName) const override
std::vector< TfToken > TfTokenVector
Convenience types.
HdMaterialNetwork2Interface(const SdfPath &materialPrimPath, HdMaterialNetwork2 *materialNetwork)
HD_API void DeleteNodeInputConnection(const TfToken &nodeName, const TfToken &inputName) override
HD_API VtValue GetNodeTypeInfoValue(const TfToken &nodeName, const TfToken &key) const override
HD_API TfTokenVector GetNodeTypeInfoKeys(const TfToken &nodeName) const override
TfSmallVector< InputConnection, 4 > InputConnectionVector
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API void SetTerminalConnection(const TfToken &terminalName, const InputConnection &connection) override
HD_API InputConnectionVector GetNodeInputConnection(const TfToken &nodeName, const TfToken &inputName) const override
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API void SetNodeInputConnection(const TfToken &nodeName, const TfToken &inputName, const InputConnectionVector &connections) override
HD_API SdfPath GetMaterialPrimPath() const override
HD_API TfTokenVector GetAuthoredNodeParameterNames(const TfToken &nodeName) const override
std::pair< bool, InputConnection > InputConnectionResult
HD_API TfTokenVector GetNodeNames() const override
HD_API void SetNodeType(const TfToken &nodeName, const TfToken &nodeType) override