vector_uint1_precision.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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