HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OsoNode.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_OSONODE_H
7 #define MATERIALX_OSONODE_H
8 
10 
12 
14 
16 {
17 public:
18  static ShaderNodeImplPtr create();
19 
20  void initialize(const InterfaceElement& element, GenContext& context) override;
21 
22  const string& getOsoName() const { return _osoName; }
23  const string& getOsoPath() const { return _osoPath; }
24 
25 private:
26  string _osoName;
27  string _osoPath;
28 };
29 
31 
32 #endif
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: Library.h:39
const string & getOsoName() const
Definition: OsoNode.h:22
#define MATERIALX_NAMESPACE_BEGIN
Definition: Generated.h:25
#define MX_GENOSL_API
Definition: Export.h:18
const string & getOsoPath() const
Definition: OsoNode.h:23
virtual void initialize(const InterfaceElement &element, GenContext &context)
#define MATERIALX_NAMESPACE_END
Definition: Generated.h:26