Clutter Engine 0.0.1
Loading...
Searching...
No Matches
Vector types with precision qualifiers

Vector types with precision qualifiers which may result in various precision in term of ULPs. More...

Typedefs

typedef vec< 2, bool, highpglm::highp_bvec2
 
typedef vec< 2, bool, mediumpglm::mediump_bvec2
 
typedef vec< 2, bool, lowpglm::lowp_bvec2
 
typedef vec< 3, bool, highpglm::highp_bvec3
 
typedef vec< 3, bool, mediumpglm::mediump_bvec3
 
typedef vec< 3, bool, lowpglm::lowp_bvec3
 
typedef vec< 4, bool, highpglm::highp_bvec4
 
typedef vec< 4, bool, mediumpglm::mediump_bvec4
 
typedef vec< 4, bool, lowpglm::lowp_bvec4
 
typedef vec< 2, double, highpglm::highp_dvec2
 
typedef vec< 2, double, mediumpglm::mediump_dvec2
 
typedef vec< 2, double, lowpglm::lowp_dvec2
 
typedef vec< 3, double, highpglm::highp_dvec3
 
typedef vec< 3, double, mediumpglm::mediump_dvec3
 
typedef vec< 3, double, lowpglm::lowp_dvec3
 
typedef vec< 4, double, highpglm::highp_dvec4
 
typedef vec< 4, double, mediumpglm::mediump_dvec4
 
typedef vec< 4, double, lowpglm::lowp_dvec4
 
typedef vec< 2, float, highpglm::highp_vec2
 
typedef vec< 2, float, mediumpglm::mediump_vec2
 
typedef vec< 2, float, lowpglm::lowp_vec2
 
typedef vec< 3, float, highpglm::highp_vec3
 
typedef vec< 3, float, mediumpglm::mediump_vec3
 
typedef vec< 3, float, lowpglm::lowp_vec3
 
typedef vec< 4, float, highpglm::highp_vec4
 
typedef vec< 4, float, mediumpglm::mediump_vec4
 
typedef vec< 4, float, lowpglm::lowp_vec4
 
typedef vec< 2, int, highpglm::highp_ivec2
 
typedef vec< 2, int, mediumpglm::mediump_ivec2
 
typedef vec< 2, int, lowpglm::lowp_ivec2
 
typedef vec< 3, int, highpglm::highp_ivec3
 
typedef vec< 3, int, mediumpglm::mediump_ivec3
 
typedef vec< 3, int, lowpglm::lowp_ivec3
 
typedef vec< 4, int, highpglm::highp_ivec4
 
typedef vec< 4, int, mediumpglm::mediump_ivec4
 
typedef vec< 4, int, lowpglm::lowp_ivec4
 
typedef vec< 2, unsigned int, highpglm::highp_uvec2
 
typedef vec< 2, unsigned int, mediumpglm::mediump_uvec2
 
typedef vec< 2, unsigned int, lowpglm::lowp_uvec2
 
typedef vec< 3, unsigned int, highpglm::highp_uvec3
 
typedef vec< 3, unsigned int, mediumpglm::mediump_uvec3
 
typedef vec< 3, unsigned int, lowpglm::lowp_uvec3
 
typedef vec< 4, unsigned int, highpglm::highp_uvec4
 
typedef vec< 4, unsigned int, mediumpglm::mediump_uvec4
 
typedef vec< 4, unsigned int, lowpglm::lowp_uvec4
 

Detailed Description

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.

Typedef Documentation

◆ highp_bvec2

◆ highp_bvec3

◆ highp_bvec4

◆ highp_dvec2

typedef vec< 2, f64, highp > glm::highp_dvec2

2 components vector of high double-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_dvec3

typedef vec< 3, f64, highp > glm::highp_dvec3

3 components vector of high double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_dvec4

typedef vec< 4, f64, highp > glm::highp_dvec4

4 components vector of high double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_ivec2

typedef vec< 2, i32, highp > glm::highp_ivec2

2 components vector of high qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_ivec3

typedef vec< 3, i32, highp > glm::highp_ivec3

3 components vector of high qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_ivec4

typedef vec< 4, i32, highp > glm::highp_ivec4

4 components vector of high qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_uvec2

typedef vec< 2, u32, highp > glm::highp_uvec2

2 components vector of high qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_uvec3

typedef vec< 3, u32, highp > glm::highp_uvec3

3 components vector of high qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_uvec4

typedef vec< 4, u32, highp > glm::highp_uvec4

4 components vector of high qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_vec2

typedef vec< 2, float, highp > glm::highp_vec2

2 components vector of high single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_vec3

typedef vec< 3, float, highp > glm::highp_vec3

3 components vector of high single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ highp_vec4

typedef vec< 4, float, highp > glm::highp_vec4

4 components vector of high single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_bvec2

◆ lowp_bvec3

◆ lowp_bvec4

◆ lowp_dvec2

typedef vec< 2, f64, lowp > glm::lowp_dvec2

2 components vector of low double-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_dvec3

typedef vec< 3, f64, lowp > glm::lowp_dvec3

3 components vector of low double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_dvec4

typedef vec< 4, f64, lowp > glm::lowp_dvec4

4 components vector of low double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_ivec2

typedef vec< 2, i32, lowp > glm::lowp_ivec2

2 components vector of low qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_ivec3

typedef vec< 3, i32, lowp > glm::lowp_ivec3

3 components vector of low qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_ivec4

typedef vec< 4, i32, lowp > glm::lowp_ivec4

4 components vector of low qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_uvec2

typedef vec< 2, u32, lowp > glm::lowp_uvec2

2 components vector of low qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_uvec3

typedef vec< 3, u32, lowp > glm::lowp_uvec3

3 components vector of low qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_uvec4

typedef vec< 4, u32, lowp > glm::lowp_uvec4

4 components vector of low qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_vec2

typedef vec< 2, float, lowp > glm::lowp_vec2

2 components vector of low single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_vec3

typedef vec< 3, float, lowp > glm::lowp_vec3

3 components vector of low single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ lowp_vec4

typedef vec< 4, float, lowp > glm::lowp_vec4

4 components vector of low single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_bvec2

◆ mediump_bvec3

◆ mediump_bvec4

◆ mediump_dvec2

2 components vector of medium double-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_dvec3

3 components vector of medium double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_dvec4

4 components vector of medium double-qualifier floating-point numbers. There is no guarantee on the actual qualifier.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_ivec2

2 components vector of medium qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_ivec3

3 components vector of medium qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_ivec4

4 components vector of medium qualifier signed integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_uvec2

2 components vector of medium qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_uvec3

3 components vector of medium qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_uvec4

4 components vector of medium qualifier unsigned integer numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_vec2

typedef vec< 2, float, mediump > glm::mediump_vec2

2 components vector of medium single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_vec3

typedef vec< 3, float, mediump > glm::mediump_vec3

3 components vector of medium single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier

◆ mediump_vec4

typedef vec< 4, float, mediump > glm::mediump_vec4

4 components vector of medium single-qualifier floating-point numbers.

See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier