Flow Visualisation
|
Conversion between two color types. More...
Functions | |
template<typename valType > | |
uint8 | glm::u8channel_cast (valType a) |
template<typename valType > | |
uint16 | glm::u16channel_cast (valType a) |
template<typename T > | |
uint32 | glm::u32_rgbx_cast (const detail::tvec3< T > &c) |
Conversion of a 3 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint32 | glm::u32_xrgb_cast (const detail::tvec3< T > &c) |
Conversion of a 3 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint32 | glm::u32_bgrx_cast (const detail::tvec3< T > &c) |
Conversion of a 3 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint32 | glm::u32_xbgr_cast (const detail::tvec3< T > &c) |
Conversion of a 3 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint32 | glm::u32_rgba_cast (const detail::tvec4< T > &c) |
Conversion of a 4 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint32 | glm::u32_argb_cast (const detail::tvec4< T > &c) |
Conversion of a 4 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint32 | glm::u32_bgra_cast (const detail::tvec4< T > &c) |
Conversion of a 4 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint32 | glm::u32_abgr_cast (const detail::tvec4< T > &c) |
Conversion of a 4 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint64 | glm::u64_rgbx_cast (const detail::tvec3< T > &c) |
Conversion of a 3 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint64 | glm::u64_xrgb_cast (const detail::tvec3< T > &c) |
Conversion of a 3 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint64 | glm::u64_bgrx_cast (const detail::tvec3< T > &c) |
Conversion of a 3 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint64 | glm::u64_xbgr_cast (const detail::tvec3< T > &c) |
Conversion of a 3 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint64 | glm::u64_rgba_cast (const detail::tvec4< T > &c) |
Conversion of a 4 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint64 | glm::u64_argb_cast (const detail::tvec4< T > &c) |
Conversion of a 4 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint64 | glm::u64_bgra_cast (const detail::tvec4< T > &c) |
Conversion of a 4 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
uint64 | glm::u64_abgr_cast (const detail::tvec4< T > &c) |
Conversion of a 4 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16 | glm::f16_channel_cast (T a) |
Conversion of a u8 or u16 value to a single channel floating value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16vec3 | glm::f16_rgbx_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16vec3 | glm::f16_xrgb_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16vec3 | glm::f16_bgrx_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16vec3 | glm::f16_xbgr_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16vec4 | glm::f16_rgba_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16vec4 | glm::f16_argb_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16vec4 | glm::f16_bgra_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f16vec4 | glm::f16_abgr_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32 | glm::f32_channel_cast (T a) |
Conversion of a u8 or u16 value to a single channel floating value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32vec3 | glm::f32_rgbx_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32vec3 | glm::f32_xrgb_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32vec3 | glm::f32_bgrx_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32vec3 | glm::f32_xbgr_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32vec4 | glm::f32_rgba_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32vec4 | glm::f32_argb_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32vec4 | glm::f32_bgra_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f32vec4 | glm::f32_abgr_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64 | glm::f64_channel_cast (T a) |
Conversion of a u8 or u16 value to a single channel floating value. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64vec3 | glm::f64_rgbx_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64vec3 | glm::f64_xrgb_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64vec3 | glm::f64_bgrx_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64vec3 | glm::f64_xbgr_cast (T c) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64vec4 | glm::f64_rgba_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64vec4 | glm::f64_argb_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64vec4 | glm::f64_bgra_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
template<typename T > | |
f64vec4 | glm::f64_abgr_cast (T c) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension) More... | |
Conversion between two color types.
<glm/gtx/color_cast.hpp> need to be included to use these functionalities.
f16vec4 glm::f16_abgr_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f16vec4 glm::f16_argb_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f16vec4 glm::f16_bgra_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f16vec3 glm::f16_bgrx_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f16 glm::f16_channel_cast | ( | T | a | ) |
Conversion of a u8 or u16 value to a single channel floating value. (From GLM_GTX_color_cast extension)
f16vec4 glm::f16_rgba_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f16vec3 glm::f16_rgbx_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f16vec3 glm::f16_xbgr_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f16vec3 glm::f16_xrgb_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f32vec4 glm::f32_abgr_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f32vec4 glm::f32_argb_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f32vec4 glm::f32_bgra_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f32vec3 glm::f32_bgrx_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f32 glm::f32_channel_cast | ( | T | a | ) |
Conversion of a u8 or u16 value to a single channel floating value. (From GLM_GTX_color_cast extension)
f32vec4 glm::f32_rgba_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f32vec3 glm::f32_rgbx_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f32vec3 glm::f32_xbgr_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f32vec3 glm::f32_xrgb_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f64vec4 glm::f64_abgr_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f64vec4 glm::f64_argb_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f64vec4 glm::f64_bgra_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f64vec3 glm::f64_bgrx_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f64 glm::f64_channel_cast | ( | T | a | ) |
Conversion of a u8 or u16 value to a single channel floating value. (From GLM_GTX_color_cast extension)
f64vec4 glm::f64_rgba_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
f64vec3 glm::f64_rgbx_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f64vec3 glm::f64_xbgr_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
f64vec3 glm::f64_xrgb_cast | ( | T | c | ) |
Conversion of a u32 or u64 color into 3 components floating color. (From GLM_GTX_color_cast extension)
uint16 glm::u16channel_cast | ( | valType | a | ) |
Conversion of a floating value into a 16bit unsigned int value.
uint32 glm::u32_abgr_cast | ( | const detail::tvec4< T > & | c | ) |
Conversion of a 4 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension)
uint32 glm::u32_argb_cast | ( | const detail::tvec4< T > & | c | ) |
Conversion of a 4 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension)
uint32 glm::u32_bgra_cast | ( | const detail::tvec4< T > & | c | ) |
Conversion of a 4 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension)
uint32 glm::u32_bgrx_cast | ( | const detail::tvec3< T > & | c | ) |
Conversion of a 3 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension)
uint32 glm::u32_rgba_cast | ( | const detail::tvec4< T > & | c | ) |
Conversion of a 4 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension)
uint32 glm::u32_rgbx_cast | ( | const detail::tvec3< T > & | c | ) |
Conversion of a 3 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension)
uint32 glm::u32_xbgr_cast | ( | const detail::tvec3< T > & | c | ) |
Conversion of a 3 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension)
uint32 glm::u32_xrgb_cast | ( | const detail::tvec3< T > & | c | ) |
Conversion of a 3 components color into an 32bit unsigned int value. (From GLM_GTX_color_cast extension)
uint64 glm::u64_abgr_cast | ( | const detail::tvec4< T > & | c | ) |
Conversion of a 4 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension)
uint64 glm::u64_argb_cast | ( | const detail::tvec4< T > & | c | ) |
Conversion of a 4 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension)
uint64 glm::u64_bgra_cast | ( | const detail::tvec4< T > & | c | ) |
Conversion of a 4 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension)
uint64 glm::u64_bgrx_cast | ( | const detail::tvec3< T > & | c | ) |
Conversion of a 3 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension)
uint64 glm::u64_rgba_cast | ( | const detail::tvec4< T > & | c | ) |
Conversion of a 4 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension)
uint64 glm::u64_rgbx_cast | ( | const detail::tvec3< T > & | c | ) |
Conversion of a 3 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension)
uint64 glm::u64_xbgr_cast | ( | const detail::tvec3< T > & | c | ) |
Conversion of a 3 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension)
uint64 glm::u64_xrgb_cast | ( | const detail::tvec3< T > & | c | ) |
Conversion of a 3 components color into an 64bit unsigned int value. (From GLM_GTX_color_cast extension)
uint8 glm::u8channel_cast | ( | valType | a | ) |
Conversion of a floating value into a 8bit unsigned int value.