core_vector_precision Module Reference
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: a number of typedefs that use a particular qualifier.
None of these types make any guarantees about the actual qualifier used.
Typedefs
-
vec< 2, bool, highp >highp_bvec2
2 components vector of high qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, bool, mediump >mediump_bvec2
2 components vector of medium qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, bool, lowp >lowp_bvec2
2 components vector of low qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, bool, highp >highp_bvec3
3 components vector of high qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, bool, mediump >mediump_bvec3
3 components vector of medium qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, bool, lowp >lowp_bvec3
3 components vector of low qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, bool, highp >highp_bvec4
4 components vector of high qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, bool, mediump >mediump_bvec4
4 components vector of medium qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, bool, lowp >lowp_bvec4
4 components vector of low qualifier bool numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, double, highp >highp_dvec2
2 components vector of high double-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, double, mediump >mediump_dvec2
2 components vector of medium double-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, double, lowp >lowp_dvec2
2 components vector of low double-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, double, highp >highp_dvec3
3 components vector of high double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, double, mediump >mediump_dvec3
3 components vector of medium double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, double, lowp >lowp_dvec3
3 components vector of low double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, double, highp >highp_dvec4
4 components vector of high double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, double, mediump >mediump_dvec4
4 components vector of medium double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, double, lowp >lowp_dvec4
4 components vector of low double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, float, highp >highp_vec2
2 components vector of high single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, float, mediump >mediump_vec2
2 components vector of medium single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, float, lowp >lowp_vec2
2 components vector of low single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, float, highp >highp_vec3
3 components vector of high single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, float, mediump >mediump_vec3
3 components vector of medium single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, float, lowp >lowp_vec3
3 components vector of low single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, float, highp >highp_vec4
4 components vector of high single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, float, mediump >mediump_vec4
4 components vector of medium single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, float, lowp >lowp_vec4
4 components vector of low single-qualifier floating-point numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, int, highp >highp_ivec2
2 components vector of high qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, int, mediump >mediump_ivec2
2 components vector of medium qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, int, lowp >lowp_ivec2
2 components vector of low qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, int, highp >highp_ivec3
3 components vector of high qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, int, mediump >mediump_ivec3
3 components vector of medium qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, int, lowp >lowp_ivec3
3 components vector of low qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, int, highp >highp_ivec4
4 components vector of high qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, int, mediump >mediump_ivec4
4 components vector of medium qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, int, lowp >lowp_ivec4
4 components vector of low qualifier signed integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, unsigned int, highp >highp_uvec2
2 components vector of high qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, unsigned int, mediump >mediump_uvec2
2 components vector of medium qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 2, unsigned int, lowp >lowp_uvec2
2 components vector of low qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, unsigned int, highp >highp_uvec3
3 components vector of high qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, unsigned int, mediump >mediump_uvec3
3 components vector of medium qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 3, unsigned int, lowp >lowp_uvec3
3 components vector of low qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, unsigned int, highp >highp_uvec4
4 components vector of high qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, unsigned int, mediump >mediump_uvec4
4 components vector of medium qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
vec< 4, unsigned int, lowp >lowp_uvec4
4 components vector of low qualifier unsigned integer numbers.
- See Also
- See Also
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier