GLSL Struct 1.4.0
glslstruct
Loading...
Searching...
No Matches
glslstruct.hpp
1/*
2 * glslstruct - a C++ library designed to easily represent GLSL's Uniform Buffer Objects (UBOs) and Shader Storage Buffer Objects (SSBOs) in C++.
3 *
4 * Licensed under the BSD 3-Clause License with Attribution Requirement.
5 * See the LICENSE file for details: https://github.com/MAIPA01/glslstruct/blob/main/LICENSE
6 *
7 * Copyright (c) 2025, Patryk Antosik (MAIPA01)
8 */
9
10#pragma once
11#ifndef _GLSL_STRUCT_GLSLSTRUCT_HPP_
12 #define _GLSL_STRUCT_GLSLSTRUCT_HPP_
13
14 #include <glslstruct/config.hpp>
15
17_GLSL_STRUCT_ERROR("This is only available for c++17 and greater!");
18 #else
19
20 #include <glslstruct/types.hpp>
21 #include <glslstruct/value_types.hpp>
22
23 #include <glslstruct/value/glsl_value.hpp>
24
25 #include <glslstruct/variable/glsl_variable.hpp>
26
27 #include <glslstruct/layout/base_layout.hpp>
28
29 #include <glslstruct/struct/base_struct.hpp>
30
32 #include <glslstruct/writer/glsl/writer.hpp>
33 #endif
34
36 #include <glslstruct/parser/base_parser.hpp>
37 #endif
38
39 #endif
40#endif
#define _GLSL_STRUCT_HAS_PARSER
check if user want to include parser functionality
Definition config.hpp:186
#define _GLSL_STRUCT_HAS_CXX17
check if compiler has c++ version greater or equal to c++17
Definition config.hpp:130
#define _GLSL_STRUCT_HAS_TYPES
check if user not disabled type containers using GLSL_STRUCT_DISABLE_TYPES
Definition config.hpp:162