GLSL Struct 1.4.0
glslstruct
Loading...
Searching...
No Matches
config.hpp File Reference
#include <mstd/mstd.hpp>

Go to the source code of this file.

Namespaces

namespace  glslstruct
 Main namespace of glslstruct library.
namespace  glslstruct::uitls
 Utility namespace of glslstruct library.

Macros

#define _GLSL_STRUCT_CONFIG_HPP_
#define GLSL_STRUCT_VERSION_MAJOR   1
 glslstruct version major number
#define GLSL_STRUCT_VERSION_MINOR   4
 glslstruct version minor number
#define GLSL_STRUCT_VERSION_PATCH   0
 glslstruct version patch number
#define _GLSL_STRUCT_STRINGIFY_HELPER(x)
 stringify helper
#define _GLSL_STRUCT_VERSION_TO_STRING(major, minor, patch)
 converts version numbers to string
#define _GLSL_STRUCT_VERSION_TO_INT(major, minor, patch)
 converts version number to int
#define GLSL_STRUCT_VERSION_STRING   _GLSL_STRUCT_VERSION_TO_STRING(GLSL_STRUCT_VERSION_MAJOR, GLSL_STRUCT_VERSION_MINOR, GLSL_STRUCT_VERSION_PATCH)
 glslstruct version string
#define GLSL_STRUCT_VERSION_INT   _GLSL_STRUCT_VERSION_TO_INT(GLSL_STRUCT_VERSION_MAJOR, GLSL_STRUCT_VERSION_MINOR, GLSL_STRUCT_VERSION_PATCH)
 glslstruct version int
#define GLSL_STRUCT_VERSION   GLSL_STRUCT_VERSION_STRING
 glslstruct version string
#define GLSL_STRUCT_LAST_UPDATE_DAY   13
 glslstruct last update day
#define GLSL_STRUCT_LAST_UPDATE_MONTH   04
 glslstruct last update month
#define GLSL_STRUCT_LAST_UPDATE_YEAR   2026
 glslstruct last update year
#define _GLSL_STRUCT_LAST_UPDATE_DATE_HELPER(day, month, year)
 converts last update date to string
#define GLSL_STRUCT_LAST_UPDATE_DATE
 glslstruct last update date string
#define _GLSL_STRUCT_HAS_CXX17   __cplusplus >= 201703l
 check if compiler has c++ version greater or equal to c++17
#define _GLSL_STRUCT_HAS_CXX20   0
 check if compiler has c++ version greater or equal to c++20 and if user enabled c++20 features using GLSL_STRUCT_ENABLE_CXX20
#define _GLSL_STRUCT_HAS_TYPES   _GLSL_STRUCT_HAS_CXX17
 check if user not disabled type containers using GLSL_STRUCT_DISABLE_TYPES
#define _GLSL_STRUCT_HAS_TYPE_CHECKS   0
 check if user enabled type checks for struct getters using GLSL_STRUCT_ENABLE_TYPE_CHECKS (remember it only works if GLSL_STRUCT_DISABLE_TYPES was not set)
#define _GLSL_STRUCT_HAS_GLM   1
 check if user enabled glm support
#define _GLSL_STRUCT_HAS_PARSER   _GLSL_STRUCT_HAS_CXX17
 check if user want to include parser functionality
#define _GLSL_STRUCT_CONSTEXPR17
 constexpr for c++17 and higher
#define _GLSL_STRUCT_CONSTEXPR20
 constexpr keyword for c++20 and higher
#define _GLSL_STRUCT_REQUIRES(condition)
 requires keyword for c++20 and higher
#define _GLSL_STRUCT_INLINE17
#define _GLSL_STRUCT_TYPENAME17
#define _GLSL_STRUCT_MESSAGE(MESSAGE)
 compiler message
#define _GLSL_STRUCT_WARNING(MESSAGE)
 compiler warning
#define _GLSL_STRUCT_ERROR(MESSAGE)
 compiler error

Macro Definition Documentation

◆ _GLSL_STRUCT_CONFIG_HPP_

#define _GLSL_STRUCT_CONFIG_HPP_

◆ _GLSL_STRUCT_INLINE17

#define _GLSL_STRUCT_INLINE17

◆ _GLSL_STRUCT_TYPENAME17

#define _GLSL_STRUCT_TYPENAME17