|
1.0.0 API documentation
|
Go to the documentation of this file.
17 #include "../gtc/type_precision.hpp"
18 #include "../gtc/quaternion.hpp"
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # pragma message("GLM: GLM_GTX_type_aligned is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it.")
22 #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_type_aligned extension included")
630 # ifndef GLM_FORCE_SINGLE_ONLY
644 # endif//GLM_FORCE_SINGLE_ONLY
715 # ifndef GLM_FORCE_SINGLE_ONLY
733 # endif//GLM_FORCE_SINGLE_ONLY
888 # ifndef GLM_FORCE_SINGLE_ONLY
947 # endif//GLM_FORCE_SINGLE_ONLY
969 # ifndef GLM_FORCE_SINGLE_ONLY
975 # endif//GLM_FORCE_SINGLE_ONLY
980 #include "type_aligned.inl"
int16 mediump_int16
Medium qualifier 16 bit signed integer type.
uint8 highp_uint8_t
High qualifier 8 bit unsigned integer type.
vec< 3, uint16, defaultp > u16vec3
16 bit unsigned integer vector of 3 components type.
vec< 3, int16, defaultp > i16vec3
16 bit signed integer vector of 3 components type.
aligned_highp_mat4x4 aligned_mat4x4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
qua< float, defaultp > quat
Quaternion of single-precision floating-point numbers.
int64 mediump_i64
Medium qualifier 64 bit signed integer type.
vec< 4, int16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
vec< 2, uint8, defaultp > u8vec2
8 bit unsigned integer vector of 2 components type.
uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
aligned_highp_mat3 aligned_mat3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
vec< 1, unsigned int, defaultp > uvec1
1 component vector of unsigned integer numbers.
vec< 4, int32, defaultp > i32vec4
32 bit signed integer vector of 4 components type.
vec< 1, int64, defaultp > i64vec1
64 bit signed integer vector of 1 component type.
mat< 2, 2, f32, defaultp > fmat2x2
Single-qualifier floating-point 1x1 matrix.
int64 i64
64 bit signed integer type.
vec< 4, int8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
uint8 uint8_t
Default qualifier 8 bit unsigned integer type.
int64 highp_int64
High qualifier 64 bit signed integer type.
detail::uint64 uint64
64 bit unsigned integer type.
vec< 4, f64, defaultp > f64vec4
Double-qualifier floating-point vector of 4 components.
mat< 3, 4, f32, defaultp > f32mat3x4
Single-qualifier floating-point 3x4 matrix.
int16 lowp_int16
Low qualifier 16 bit signed integer type.
int8 highp_int8_t
High qualifier 8 bit signed integer type.
vec< 4, f32, defaultp > f32vec4
Single-qualifier floating-point vector of 4 components.
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
aligned_highp_mat2 aligned_mat2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
mat< 4, 2, f32, defaultp > fmat4x2
Single-qualifier floating-point 4x2 matrix.
uint32 uint32_t
Default qualifier 32 bit unsigned integer type.
mat< 3, 4, f32, defaultp > fmat3x4
Single-qualifier floating-point 3x4 matrix.
uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
aligned_highp_mat4 aligned_mat4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
detail::uint8 uint8
8 bit unsigned integer type.
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
mat< 4, 4, f32, defaultp > fmat4x4
Single-qualifier floating-point 4x4 matrix.
vec< 4, int64, defaultp > i64vec4
64 bit signed integer vector of 4 components type.
uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
qua< f32, defaultp > f32quat
Single-qualifier floating-point quaternion.
int8 int8_t
8 bit signed integer type.
vec< 1, f32, defaultp > f32vec1
Single-qualifier floating-point vector of 1 component.
int32 i32
32 bit signed integer type.
vec< 1, f32, defaultp > fvec1
Single-qualifier floating-point vector of 1 component.
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
uint64 highp_u64
High qualifier 64 bit unsigned integer type.
vec< 3, uint8, defaultp > u8vec3
8 bit unsigned integer vector of 3 components type.
uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
int8 i8
8 bit signed integer type.
uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
vec< 4, uint8, defaultp > u8vec4
8 bit unsigned integer vector of 4 components type.
vec< 1, uint8, defaultp > u8vec1
8 bit unsigned integer vector of 1 component type.
vec< 2, int, defaultp > ivec2
2 components vector of signed integer numbers.
mat< 2, 2, float, defaultp > mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers.
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
uint16 highp_u16
High qualifier 16 bit unsigned integer type.
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers.
mat< 4, 4, float, defaultp > mat4
4 columns of 4 components matrix of single-precision floating-point numbers.
uint32 highp_u32
High qualifier 32 bit unsigned integer type.
vec< 2, f32, defaultp > fvec2
Single-qualifier floating-point vector of 2 components.
vec< 2, int16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
vec< 4, f32, defaultp > fvec4
Single-qualifier floating-point vector of 4 components.
vec< 3, int64, defaultp > i64vec3
64 bit signed integer vector of 3 components type.
uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
uint8 highp_u8
High qualifier 8 bit unsigned integer type.
vec< 2, f64, defaultp > f64vec2
Double-qualifier floating-point vector of 2 components.
mat< 2, 2, f32, defaultp > f32mat2x2
Single-qualifier floating-point 1x1 matrix.
vec< 1, int16, defaultp > i16vec1
16 bit signed integer vector of 1 component type.
int32 highp_int32_t
32 bit signed integer type.
uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
detail::uint16 uint16
16 bit unsigned integer type.
mat< 4, 4, f64, defaultp > f64mat4x4
Double-qualifier floating-point 4x4 matrix.
uint64 highp_uint64_t
High qualifier 64 bit unsigned integer type.
detail::int16 int16
16 bit signed integer type.
uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
vec< 1, uint32, defaultp > u32vec1
32 bit unsigned integer vector of 1 component type.
vec< 2, uint32, defaultp > u32vec2
32 bit unsigned integer vector of 2 components type.
uint16 highp_uint16_t
High qualifier 16 bit unsigned integer type.
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
mat< 4, 4, float, defaultp > mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers.
mat< 2, 4, f32, defaultp > f32mat2x4
Single-qualifier floating-point 2x4 matrix.
uint16 u16
Default qualifier 16 bit unsigned integer type.
uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
uint64 uint64_t
Default qualifier 64 bit unsigned integer type.
vec< 1, int32, defaultp > i32vec1
32 bit signed integer vector of 1 component type.
uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
aligned_highp_mat2x2 aligned_mat2x2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
vec< 3, uint32, defaultp > u32vec3
32 bit unsigned integer vector of 3 components type.
vec< 4, double, defaultp > dvec4
4 components vector of double-precision floating-point numbers.
mat< 2, 3, f64, defaultp > f64mat2x3
Double-qualifier floating-point 2x3 matrix.
mat< 2, 2, f64, defaultp > f64mat2x2
Double-qualifier floating-point 1x1 matrix.
vec< 1, float, defaultp > vec1
1 components vector of single-precision floating-point numbers.
mat< 3, 3, float, defaultp > mat3
3 columns of 3 components matrix of single-precision floating-point numbers.
mat< 4, 2, f32, defaultp > f32mat4x2
Single-qualifier floating-point 4x2 matrix.
mat< 3, 4, f64, defaultp > f64mat3x4
Double-qualifier floating-point 3x4 matrix.
int32 highp_i32
High qualifier 32 bit signed integer type.
detail::int32 int32
32 bit signed integer type.
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
vec< 3, int32, defaultp > i32vec3
32 bit signed integer vector of 3 components type.
qua< double, defaultp > dquat
Quaternion of double-precision floating-point numbers.
int8 mediump_int8
Medium qualifier 8 bit signed integer type.
detail::int8 int8
8 bit signed integer type.
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers.
int64 lowp_i64
Low qualifier 64 bit signed integer type.
uint64 u64
Default qualifier 64 bit unsigned integer type.
int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
int16 highp_int16_t
High qualifier 16 bit signed integer type.
int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
aligned_highp_mat3x3 aligned_mat3x3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
vec< 3, int8, defaultp > i8vec3
8 bit signed integer vector of 3 components type.
int32 mediump_int32
Medium qualifier 32 bit signed integer type.
double float64
Double-qualifier floating-point scalar.
vec< 4, uint16, defaultp > u16vec4
16 bit unsigned integer vector of 4 components type.
uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
uint32 highp_uint32_t
High qualifier 32 bit unsigned integer type.
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers.
int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
int64 mediump_int64
Medium qualifier 64 bit signed integer type.
mat< 2, 3, f32, defaultp > f32mat2x3
Single-qualifier floating-point 2x3 matrix.
int16 highp_i16
High qualifier 16 bit signed integer type.
uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
mat< 4, 3, f32, defaultp > fmat4x3
Single-qualifier floating-point 4x3 matrix.
qua< f64, defaultp > f64quat
Double-qualifier floating-point quaternion.
uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
uint64 highp_uint64
High qualifier 64 bit unsigned integer type.
vec< 1, uint16, defaultp > u16vec1
16 bit unsigned integer vector of 1 component type.
mat< 4, 3, f32, defaultp > f32mat4x3
Single-qualifier floating-point 4x3 matrix.
int16 lowp_i16
Low qualifier 16 bit signed integer type.
vec< 1, int8, defaultp > i8vec1
8 bit signed integer vector of 1 component type.
vec< 3, f64, defaultp > f64vec3
Double-qualifier floating-point vector of 3 components.
int32 lowp_i32
Low qualifier 32 bit signed integer type.
int32 highp_int32
High qualifier 32 bit signed integer type.
int8 lowp_int8
Low qualifier 8 bit signed integer type.
vec< 4, uint64, defaultp > u64vec4
64 bit unsigned integer vector of 4 components type.
uint32 u32
Default qualifier 32 bit unsigned integer type.
int16 i16
16 bit signed integer type.
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
mat< 3, 3, f64, defaultp > f64mat3x3
Double-qualifier floating-point 3x3 matrix.
vec< 2, double, defaultp > dvec2
2 components vector of double-precision floating-point numbers.
vec< 3, uint64, defaultp > u64vec3
64 bit unsigned integer vector of 3 components type.
uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
mat< 2, 4, f32, defaultp > fmat2x4
Single-qualifier floating-point 2x4 matrix.
int8 lowp_i8
Low qualifier 8 bit signed integer type.
uint16 uint16_t
Default qualifier 16 bit unsigned integer type.
int16 int16_t
16 bit signed integer type.
uint8 u8
Default qualifier 8 bit unsigned integer type.
mat< 3, 3, f32, defaultp > f32mat3x3
Single-qualifier floating-point 3x3 matrix.
int64 lowp_int64
Low qualifier 64 bit signed integer type.
vec< 1, double, defaultp > dvec1
1 components vector of double-precision floating-point numbers.
mat< 2, 3, f32, defaultp > fmat2x3
Single-qualifier floating-point 2x3 matrix.
int32 mediump_i32
Medium qualifier 32 bit signed integer type.
mat< 2, 4, f64, defaultp > f64mat2x4
Double-qualifier floating-point 2x4 matrix.
uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
mat< 3, 2, f32, defaultp > f32mat3x2
Single-qualifier floating-point 3x2 matrix.
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
vec< 3, double, defaultp > dvec3
3 components vector of double-precision floating-point numbers.
uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
int8 mediump_i8
Medium qualifier 8 bit signed integer type.
vec< 2, uint64, defaultp > u64vec2
64 bit unsigned integer vector of 2 components type.
vec< 2, int64, defaultp > i64vec2
64 bit signed integer vector of 2 components type.
int16 highp_int16
High qualifier 16 bit signed integer type.
vec< 3, int, defaultp > ivec3
3 components vector of signed integer numbers.
uint16 highp_uint16
High qualifier 16 bit unsigned integer type.
int8 highp_int8
High qualifier 8 bit signed integer type.
mat< 4, 2, f64, defaultp > f64mat4x2
Double-qualifier floating-point 4x2 matrix.
vec< 3, f32, defaultp > fvec3
Single-qualifier floating-point vector of 3 components.
vec< 1, f64, defaultp > f64vec1
Double-qualifier floating-point vector of 1 component.
mat< 4, 3, f64, defaultp > f64mat4x3
Double-qualifier floating-point 4x3 matrix.
vec< 2, f32, defaultp > f32vec2
Single-qualifier floating-point vector of 2 components.
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers.
double float64_t
Default 64 bit double-qualifier floating-point scalar.
mat< 3, 2, f64, defaultp > f64mat3x2
Double-qualifier floating-point 3x2 matrix.
mat< 3, 3, f32, defaultp > fmat3x3
Single-qualifier floating-point 3x3 matrix.
detail::uint32 uint32
32 bit unsigned integer type.
uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
vec< 3, unsigned int, defaultp > uvec3
3 components vector of unsigned integer numbers.
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers.
vec< 1, uint64, defaultp > u64vec1
64 bit unsigned integer vector of 1 component type.
vec< 4, uint32, defaultp > u32vec4
32 bit unsigned integer vector of 4 components type.
int32 lowp_int32
Low qualifier 32 bit signed integer type.
int64 int64_t
64 bit signed integer type.
detail::int64 int64
64 bit signed integer type.
vec< 2, int32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers.
vec< 2, uint16, defaultp > u16vec2
16 bit unsigned integer vector of 2 components type.
int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
mat< 3, 2, f32, defaultp > fmat3x2
Single-qualifier floating-point 3x2 matrix.
vec< 2, int8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
uint32 highp_uint32
High qualifier 32 bit unsigned integer type.
vec< 3, f32, defaultp > f32vec3
Single-qualifier floating-point vector of 3 components.
mat< 2, 2, float, defaultp > mat2
2 columns of 2 components matrix of single-precision floating-point numbers.
int64 highp_i64
High qualifier 64 bit signed integer type.
int8 highp_i8
High qualifier 8 bit signed integer type.
uint8 highp_uint8
High qualifier 8 bit unsigned integer type.
int64 highp_int64_t
High qualifier 64 bit signed integer type.
mat< 3, 3, float, defaultp > mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers.
float float32_t
Default 32 bit single-qualifier floating-point scalar.
vec< 1, int, defaultp > ivec1
1 component vector of signed integer numbers.
int32 int32_t
32 bit signed integer type.
uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
mat< 4, 4, f32, defaultp > f32mat4x4
Single-qualifier floating-point 4x4 matrix.
int16 mediump_i16
Medium qualifier 16 bit signed integer type.
GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32)
Double-qualifier floating-point aligned quaternion.
uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
float float32
Single-qualifier floating-point scalar.
uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.