GLSL Struct 1.4.0
glslstruct
Loading...
Searching...
No Matches
value_types.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_VALUE_TYPES_HPP_
12 #define _GLSL_STRUCT_VALUE_TYPES_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/utils/MajorType.hpp>
21 #include <glslstruct/utils/ValueType.hpp>
22
24 #include <glslstruct/type/containers/array_type.hpp>
25 #include <glslstruct/type/containers/base_type.hpp>
26 #include <glslstruct/type/containers/mat_type.hpp>
27 #include <glslstruct/type/containers/scalar_type.hpp>
28 #include <glslstruct/type/containers/struct_type.hpp>
29 #include <glslstruct/type/containers/type.hpp>
30 #include <glslstruct/type/containers/vec_type.hpp>
31
32 #include <glslstruct/type/visitors/eq_type_visitor.hpp>
33 #include <glslstruct/type/visitors/is_of_type_visitor.hpp>
34 #include <glslstruct/type/visitors/type_hash_visitor.hpp>
35 #include <glslstruct/type/visitors/type_visitor_concept.hpp>
36 #endif
37
38 #include <glslstruct/type/checks/layouts_checks.hpp>
39 #include <glslstruct/type/checks/simple_checks.hpp>
40 #include <glslstruct/type/checks/struct_checks.hpp>
42 #include <glslstruct/type/checks/type_checks.hpp>
43 #endif
44
45 #include <glslstruct/type/data/mat_data.hpp>
46 #include <glslstruct/type/data/scalar_data.hpp>
47 #include <glslstruct/type/data/vec_data.hpp>
48
49 #include <glslstruct/var_data/var_data.hpp>
50
51 #include <glslstruct/type/traits/mat_traits.hpp>
52 #include <glslstruct/type/traits/scalar_traits.hpp>
53 #include <glslstruct/type/traits/vec_traits.hpp>
54
55 #endif
56#endif
#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