vector_uint1_precision.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. #pragma once
  11. #include "../detail/type_vec1.hpp"
  12. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  13. # pragma message("GLM: GLM_EXT_vector_uint1_precision extension included")
  14. #endif
  15. namespace glm
  16. {
  17. /// @addtogroup ext_vector_uint1_precision
  18. /// @{
  19. /// 1 component vector of unsigned integer values.
  20. ///
  21. /// @see ext_vector_uint1_precision
  22. typedef vec<1, unsigned int, highp> highp_uvec1;
  23. /// 1 component vector of unsigned integer values.
  24. ///
  25. /// @see ext_vector_uint1_precision
  26. typedef vec<1, unsigned int, mediump> mediump_uvec1;
  27. /// 1 component vector of unsigned integer values.
  28. ///
  29. /// @see ext_vector_uint1_precision
  30. typedef vec<1, unsigned int, lowp> lowp_uvec1;
  31. /// @}
  32. }//namespace glm