1 KB、40行 生 Blame 履歴
1/// @ref ext_vector_uint1_precision
2/// @file glm/ext/vector_uint1_precision.hpp
3///
4/// @defgroup ext_vector_uint1_precision GLM_EXT_vector_uint1_precision
5/// @ingroup ext
6///
7/// Exposes highp_uvec1, mediump_uvec1 and lowp_uvec1 types.
8///
9/// Include <glm/ext/vector_uint1_precision.hpp> to use the features of this extension.
10
11#pragma once
12
13#include "../detail/type_vec1.hpp"
14
15#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
16# pragma message("GLM: GLM_EXT_vector_uint1_precision extension included")
17#endif
18
19namespace glm
20{
21 /// @addtogroup ext_vector_uint1_precision
22 /// @{
23
24 /// 1 component vector of unsigned integer values.
25 ///
26 /// @see ext_vector_uint1_precision
27 typedef vec<1, unsigned int, highp> highp_uvec1;
28
29 /// 1 component vector of unsigned integer values.
30 ///
31 /// @see ext_vector_uint1_precision
32 typedef vec<1, unsigned int, mediump> mediump_uvec1;
33
34 /// 1 component vector of unsigned integer values.
35 ///
36 /// @see ext_vector_uint1_precision
37 typedef vec<1, unsigned int, lowp> lowp_uvec1;
38
39 /// @}
40}//namespace glm