MaterialX 1.39.1
Loading...
Searching...
No Matches
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
11
13
14MATERIALX_NAMESPACE_BEGIN
15
17class MX_GENGLSL_API VkSyntax : public GlslSyntax
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
27MATERIALX_NAMESPACE_END
28
29#endif
GLSL syntax class.
shared_ptr< Syntax > SyntaxPtr
Shared pointer to a Syntax.
Definition: Syntax.h:27
Syntax class for GLSL (OpenGL Shading Language)
Definition: GlslSyntax.h:20
Syntax class for Vulkan GLSL.
Definition: VkSyntax.h:18
const string & getInputQualifier() const override
Returns a type qualifier to be used when declaring types for input variables.
Definition: VkSyntax.h:24