Go to the documentation of this file.
39 #ifndef GLM_GTX_color_cast
40 #define GLM_GTX_color_cast GLM_VERSION
44 #include "../gtx/number_precision.hpp"
46 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
47 # pragma message("GLM: GLM_GTX_color_cast extension included")
63 template <
typename T> uint32
u32_rgbx_cast(
const detail::tvec3<T>& c);
64 template <
typename T> uint32
u32_xrgb_cast(
const detail::tvec3<T>& c);
65 template <
typename T> uint32
u32_bgrx_cast(
const detail::tvec3<T>& c);
66 template <
typename T> uint32
u32_xbgr_cast(
const detail::tvec3<T>& c);
68 template <
typename T> uint32
u32_rgba_cast(
const detail::tvec4<T>& c);
69 template <
typename T> uint32
u32_argb_cast(
const detail::tvec4<T>& c);
70 template <
typename T> uint32
u32_bgra_cast(
const detail::tvec4<T>& c);
71 template <
typename T> uint32
u32_abgr_cast(
const detail::tvec4<T>& c);
73 template <
typename T> uint64
u64_rgbx_cast(
const detail::tvec3<T>& c);
74 template <
typename T> uint64
u64_xrgb_cast(
const detail::tvec3<T>& c);
75 template <
typename T> uint64
u64_bgrx_cast(
const detail::tvec3<T>& c);
76 template <
typename T> uint64
u64_xbgr_cast(
const detail::tvec3<T>& c);
78 template <
typename T> uint64
u64_rgba_cast(
const detail::tvec4<T>& c);
79 template <
typename T> uint64
u64_argb_cast(
const detail::tvec4<T>& c);
80 template <
typename T> uint64
u64_bgra_cast(
const detail::tvec4<T>& c);
81 template <
typename T> uint64
u64_abgr_cast(
const detail::tvec4<T>& c);
122 #include "color_cast.inl"
124 #endif//GLM_GTX_color_cast