vector_bool1_precision.hpp 910 B

1234567891011121314151617181920212223242526272829303132333435
  1. /// @ref ext_vector_bool1_precision
  2. /// @file glm/ext/vector_bool1_precision.hpp
  3. ///
  4. /// @defgroup ext_vector_bool1_precision GLM_EXT_vector_bool1_precision
  5. /// @ingroup ext
  6. ///
  7. /// Exposes highp_bvec1, mediump_bvec1 and lowp_bvec1 types.
  8. ///
  9. /// Include <glm/ext/vector_bool1_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_bool1_precision extension included")
  14. #endif
  15. namespace glm
  16. {
  17. /// @addtogroup ext_vector_bool1_precision
  18. /// @{
  19. /// 1 component vector of bool values.
  20. typedef vec<1, bool, highp> highp_bvec1;
  21. /// 1 component vector of bool values.
  22. typedef vec<1, bool, mediump> mediump_bvec1;
  23. /// 1 component vector of bool values.
  24. typedef vec<1, bool, lowp> lowp_bvec1;
  25. /// @}
  26. }//namespace glm