|
|
@ -6,9 +6,7 @@ |
|
|
|
/// @brief Features that implement in C++ the GLSL specification as closely as possible.
|
|
|
|
/// @brief Features that implement in C++ the GLSL specification as closely as possible.
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// The GLM core consists of C++ types that mirror GLSL types and
|
|
|
|
/// The GLM core consists of C++ types that mirror GLSL types and
|
|
|
|
/// C++ functions that mirror the GLSL functions. It also includes
|
|
|
|
/// C++ functions that mirror the GLSL functions.
|
|
|
|
/// @ref core_precision "a set of qualifier-based types" that can be used in the appropriate
|
|
|
|
|
|
|
|
/// functions.
|
|
|
|
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// The best documentation for GLM Core is the current GLSL specification,
|
|
|
|
/// The best documentation for GLM Core is the current GLSL specification,
|
|
|
|
/// <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.clean.pdf">version 4.2
|
|
|
|
/// <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.clean.pdf">version 4.2
|
|
|
@ -16,13 +14,21 @@ |
|
|
|
///
|
|
|
|
///
|
|
|
|
/// GLM core functionalities require <glm/glm.hpp> to be included to be used.
|
|
|
|
/// GLM core functionalities require <glm/glm.hpp> to be included to be used.
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// @defgroup core_precision Precision types
|
|
|
|
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// @brief Non-GLSL types that are used to define qualifier-based types.
|
|
|
|
/// @defgroup core_vector Vector types
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// The GLSL language allows the user to define the qualifier of a particular variable.
|
|
|
|
/// Vector types of two to four components with an exhaustive set of operators.
|
|
|
|
/// In OpenGL's GLSL, these qualifier qualifiers have no effect; they are there for compatibility
|
|
|
|
///
|
|
|
|
/// with OpenGL ES's qualifier qualifiers, where they @em do have an effect.
|
|
|
|
/// @ingroup core
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// @defgroup core_vector_precision Vector types with precision qualifiers
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// @brief Vector types with precision qualifiers which may result in various precision in term of ULPs
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// GLSL allows defining qualifiers for particular variables.
|
|
|
|
|
|
|
|
/// With OpenGL's GLSL, these qualifiers have no effect; they are there for compatibility,
|
|
|
|
|
|
|
|
/// with OpenGL ES's GLSL, these qualifiers do have an effect.
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// C++ has no language equivalent to qualifier qualifiers. So GLM provides the next-best thing:
|
|
|
|
/// C++ has no language equivalent to qualifier qualifiers. So GLM provides the next-best thing:
|
|
|
|
/// a number of typedefs that use a particular qualifier.
|
|
|
|
/// a number of typedefs that use a particular qualifier.
|
|
|
@ -31,6 +37,31 @@ |
|
|
|
///
|
|
|
|
///
|
|
|
|
/// @ingroup core
|
|
|
|
/// @ingroup core
|
|
|
|
///
|
|
|
|
///
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// @defgroup core_matrix Matrix types
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// Matrix types of with C columns and R rows where C and R are values between 2 to 4 included.
|
|
|
|
|
|
|
|
/// These types have exhaustive sets of operators.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// @ingroup core
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// @defgroup core_matrix_precision Matrix types with precision qualifiers
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// @brief Matrix types with precision qualifiers which may result in various precision in term of ULPs
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// GLSL allows defining qualifiers for particular variables.
|
|
|
|
|
|
|
|
/// With OpenGL's GLSL, these qualifiers have no effect; they are there for compatibility,
|
|
|
|
|
|
|
|
/// with OpenGL ES's GLSL, these qualifiers do have an effect.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// C++ has no language equivalent to qualifier qualifiers. So GLM provides the next-best thing:
|
|
|
|
|
|
|
|
/// a number of typedefs that use a particular qualifier.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// None of these types make any guarantees about the actual qualifier used.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// @ingroup core
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
///
|
|
|
|
/// @defgroup ext Stable extensions
|
|
|
|
/// @defgroup ext Stable extensions
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// @brief Additional features not specified by GLSL specification.
|
|
|
|
/// @brief Additional features not specified by GLSL specification.
|
|
|
@ -40,6 +71,7 @@ |
|
|
|
/// Even if it's highly unrecommended, it's possible to include all the extensions at once by
|
|
|
|
/// Even if it's highly unrecommended, it's possible to include all the extensions at once by
|
|
|
|
/// including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.
|
|
|
|
/// including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.
|
|
|
|
///
|
|
|
|
///
|
|
|
|
|
|
|
|
///
|
|
|
|
/// @defgroup gtc Recommended extensions
|
|
|
|
/// @defgroup gtc Recommended extensions
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// @brief Additional features not specified by GLSL specification.
|
|
|
|
/// @brief Additional features not specified by GLSL specification.
|
|
|
@ -49,6 +81,7 @@ |
|
|
|
/// Even if it's highly unrecommended, it's possible to include all the extensions at once by
|
|
|
|
/// Even if it's highly unrecommended, it's possible to include all the extensions at once by
|
|
|
|
/// including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.
|
|
|
|
/// including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.
|
|
|
|
///
|
|
|
|
///
|
|
|
|
|
|
|
|
///
|
|
|
|
/// @defgroup gtx Experimental extensions
|
|
|
|
/// @defgroup gtx Experimental extensions
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// @brief Experimental features not specified by GLSL specification.
|
|
|
|
/// @brief Experimental features not specified by GLSL specification.
|
|
|
|