HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClosureLayerNode.h
Go to the documentation of this file.
1 //
2 // TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
3 // All rights reserved. See LICENSE.txt for license.
4 //
5 
6 #ifndef MATERIALX_CLOSURELAYERNODE_H
7 #define MATERIALX_CLOSURELAYERNODE_H
8 
10 
12 
13 /// Closure layer node implementation.
15 {
16  public:
17  static ShaderNodeImplPtr create();
18 
19  void emitFunctionCall(const ShaderNode& node, GenContext& context, ShaderStage& stage) const override;
20 
21  /// String constants
22  static const string TOP;
23  static const string BASE;
24  static const string THICKNESS;
25  static const string IOR;
26 };
27 
29 
30 #endif
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: Library.h:40
#define MATERIALX_NAMESPACE_BEGIN
Definition: Generated.h:23
static const string THICKNESS
static const string BASE
#define MX_GENSHADER_API
Definition: Export.h:18
static const string IOR
Closure layer node implementation.
static const string TOP
String constants.
#define MATERIALX_NAMESPACE_END
Definition: Generated.h:24
virtual void emitFunctionCall(const ShaderNode &node, GenContext &context, ShaderStage &stage) const
Emit the function call or inline source code for given node instance in the given context...