glm::gtx::color_space Namespace Reference
GLM_GTX_color_space extension: Related to RVB to HSV conversions and operations.
More...
|
Functions |
|
template<typename T> |
| detail::_xvec3< T > | hsvColor (const detail::_xvec3< T > &rgbValue) |
| | Converts a color from RGB color space to its color in HSV color space (from GLM_GTX_color_space extension).
|
|
template<typename T> |
| T | luminosity (const detail::_xvec3< T > &color) |
| | Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals (from GLM_GTX_color_space extension).
|
|
template<typename T> |
| detail::_xvec3< T > | rgbColor (const detail::_xvec3< T > &hsvValue) |
| | Converts a color from HSV color space to its color in RGB color space (from GLM_GTX_color_space extension).
|
|
template<typename T> |
| detail::_xvec4< T > | saturation (const T s, const detail::_xvec4< T > &color) |
| | Modify the saturation of a color (from GLM_GTX_color_space extension).
|
|
template<typename T> |
| detail::_xvec3< T > | saturation (const T s, const detail::_xvec3< T > &color) |
| | Modify the saturation of a color (from GLM_GTX_color_space extension).
|
|
template<typename T> |
| detail::_xmat4< T > | saturation (const T s) |
| | Build a saturation matrix (from GLM_GTX_color_space extension).
|
Detailed Description
GLM_GTX_color_space extension: Related to RVB to HSV conversions and operations.