0.9.9 API documenation
|
RGB to YCoCg conversions and operations. More...
Functions | |
template<typename T , qualifier P> | |
GLM_FUNC_DECL vec< 3, T, P > | rgb2YCoCg (vec< 3, T, P > const &rgbColor) |
Convert a color from RGB color space to YCoCg color space. More... | |
template<typename T , qualifier P> | |
GLM_FUNC_DECL vec< 3, T, P > | rgb2YCoCgR (vec< 3, T, P > const &rgbColor) |
Convert a color from RGB color space to YCoCgR color space. More... | |
template<typename T , qualifier P> | |
GLM_FUNC_DECL vec< 3, T, P > | YCoCg2rgb (vec< 3, T, P > const &YCoCgColor) |
Convert a color from YCoCg color space to RGB color space. More... | |
template<typename T , qualifier P> | |
GLM_FUNC_DECL vec< 3, T, P > | YCoCgR2rgb (vec< 3, T, P > const &YCoCgColor) |
Convert a color from YCoCgR color space to RGB color space. More... | |
RGB to YCoCg conversions and operations.
<glm/gtx/color_space_YCoCg.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL vec<3, T, P> glm::rgb2YCoCg | ( | vec< 3, T, P > const & | rgbColor | ) |
Convert a color from RGB color space to YCoCg color space.
GLM_FUNC_DECL vec<3, T, P> glm::rgb2YCoCgR | ( | vec< 3, T, P > const & | rgbColor | ) |
Convert a color from RGB color space to YCoCgR color space.
GLM_FUNC_DECL vec<3, T, P> glm::YCoCg2rgb | ( | vec< 3, T, P > const & | YCoCgColor | ) |
Convert a color from YCoCg color space to RGB color space.
GLM_FUNC_DECL vec<3, T, P> glm::YCoCgR2rgb | ( | vec< 3, T, P > const & | YCoCgColor | ) |
Convert a color from YCoCgR color space to RGB color space.