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 
13 /// Extending the SourceCodeNode with requirements for image nodes.
15 {
16  public:
17  static ShaderNodeImplPtr create();
18 
19  void addInputs(ShaderNode& node, GenContext& context) const override;
20  void setValues(const Node& node, ShaderNode& shaderNode, GenContext& context) const override;
21 };
22 
24 
25 #endif
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: Library.h:40
#define MATERIALX_NAMESPACE_BEGIN
Definition: Generated.h:25
Definition: Node.h:52
#define MX_GENSHADER_API
Definition: Export.h:18
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:14
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