HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HwImageNode.h
Go to the documentation of this file.
1 //
2 // Copyright Contributors to the MaterialX Project
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 
6 #ifndef MATERIALX_HWIMAGECODENODE_H
7 #define MATERIALX_HWIMAGECODENODE_H
8 
10 
12 
14 
15 /// Extending the SourceCodeNode with requirements for image nodes.
17 {
18  public:
19  static ShaderNodeImplPtr create();
20 
21  void addInputs(ShaderNode& node, GenContext& context) const override;
22  void setValues(const Node& node, ShaderNode& shaderNode, GenContext& context) const override;
23 };
24 
26 
27 #endif
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: Library.h:39
#define MATERIALX_NAMESPACE_BEGIN
Definition: Generated.h:25
Definition: Node.h:52
virtual void addInputs(ShaderNode &node, GenContext &context) const
Add additional inputs on a node.
Extending the SourceCodeNode with requirements for image nodes.
Definition: HwImageNode.h:16
virtual void setValues(const Node &node, ShaderNode &shaderNode, GenContext &context) const
Set values for additional inputs on a node.
static ShaderNodeImplPtr create()
#define MATERIALX_NAMESPACE_END
Definition: Generated.h:26
#define MX_GENHW_API
Definition: Export.h:18