RavEngine
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...

Collaboration diagram for Vector types with precision qualifiers:

Typedefs

typedef vec< 2, bool, highp > glm::highp_bvec2
 
typedef vec< 2, bool, mediump > glm::mediump_bvec2
 
typedef vec< 2, bool, lowp > glm::lowp_bvec2
 
typedef vec< 3, bool, highp > glm::highp_bvec3
 
typedef vec< 3, bool, mediump > glm::mediump_bvec3
 
typedef vec< 3, bool, lowp > glm::lowp_bvec3
 
typedef vec< 4, bool, highp > glm::highp_bvec4
 
typedef vec< 4, bool, mediump > glm::mediump_bvec4
 
typedef vec< 4, bool, lowp > glm::lowp_bvec4
 
typedef vec< 2, double, highp > glm::highp_dvec2
 
typedef vec< 2, double, mediump > glm::mediump_dvec2
 
typedef vec< 2, double, lowp > glm::lowp_dvec2
 
typedef vec< 3, double, highp > glm::highp_dvec3
 
typedef vec< 3, double, mediump > glm::mediump_dvec3
 
typedef vec< 3, double, lowp > glm::lowp_dvec3
 
typedef vec< 4, double, highp > glm::highp_dvec4
 
typedef vec< 4, double, mediump > glm::mediump_dvec4
 
typedef vec< 4, double, lowp > glm::lowp_dvec4
 
typedef vec< 2, float, highp > glm::highp_vec2
 
typedef vec< 2, float, mediump > glm::mediump_vec2
 
typedef vec< 2, float, lowp > glm::lowp_vec2
 
typedef vec< 3, float, highp > glm::highp_vec3
 
typedef vec< 3, float, mediump > glm::mediump_vec3
 
typedef vec< 3, float, lowp > glm::lowp_vec3
 
typedef vec< 4, float, highp > glm::highp_vec4
 
typedef vec< 4, float, mediump > glm::mediump_vec4
 
typedef vec< 4, float, lowp > glm::lowp_vec4
 

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_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_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_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