2
3
4
5
6
7
8
11#ifndef _GLSL_STRUCT_TYPE_CHECKS_HPP_
12 #define _GLSL_STRUCT_TYPE_CHECKS_HPP_
14 #include <glslstruct/config.hpp>
18 "This is only available for c++17 and greater and when types are not disabled with GLSL_STRUCT_DISABLE_TYPES set to 1!"
25 template<
class Derived>
34 #pragma region TYPES_HANDLES
36
37
38
41
42
43
44
48
49
50
53
54
55
58
59
60
63
64
65
68
69
70
76
77
78
79
84
85
86
87
93
94
95
96
100
101
102
103
#define _GLSL_STRUCT_HAS_CXX20
check if compiler has c++ version greater or equal to c++20 and if user enabled c++20 features using ...
Definition config.hpp:142
static _GLSL_STRUCT_CONSTEXPR17 bool is_glsl_type_v
check if T is glsl type (not base_type container but derived from base_type container)
Definition type_checks.hpp:81
static _GLSL_STRUCT_CONSTEXPR17 bool is_glsl_base_type_v
check if T is base_type container
Definition type_checks.hpp:89
#define _GLSL_STRUCT_HAS_TYPES
check if user not disabled type containers using GLSL_STRUCT_DISABLE_TYPES
Definition config.hpp:162
#define _GLSL_STRUCT_CONSTEXPR17
constexpr for c++17 and higher
Definition config.hpp:196
Main namespace of glslstruct library.
Definition scalar_layout_traits.hpp:23