HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VkSyntax.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_VKSYNTAX_H
7 #define MATERIALX_VKSYNTAX_H
8 
9 /// @file
10 /// Vulkan GLSL syntax class
11 
13 
15 
16 /// Syntax class for Vulkan GLSL
18 {
19  public:
20  VkSyntax();
21 
22  static SyntaxPtr create() { return std::make_shared<VkSyntax>(); }
23 
24  const string& getInputQualifier() const override { return INPUT_QUALIFIER; }
25 };
26 
28 
29 #endif
static SyntaxPtr create()
Definition: VkSyntax.h:22
#define MATERIALX_NAMESPACE_BEGIN
Definition: Generated.h:25
shared_ptr< Syntax > SyntaxPtr
Shared pointer to a Syntax.
Definition: Syntax.h:26
static const string INPUT_QUALIFIER
Definition: GlslSyntax.h:38
Syntax class for GLSL (OpenGL Shading Language)
Definition: GlslSyntax.h:19
const string & getInputQualifier() const override
Definition: VkSyntax.h:24
Syntax class for Vulkan GLSL.
Definition: VkSyntax.h:17
#define MATERIALX_NAMESPACE_END
Definition: Generated.h:26
#define MX_GENGLSL_API
Definition: Export.h:18