FlukyEngine
Namespaces | Functions
color_space_YCoCg.hpp File Reference

GLM_GTX_color_space_YCoCg More...

#include "../glm.hpp"
#include "color_space_YCoCg.inl"
Include dependency graph for color_space_YCoCg.hpp:

Go to the source code of this file.

Namespaces

 glm
 Core features
 

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::rgb2YCoCg (vec< 3, T, Q > const &rgbColor)
 Convert a color from RGB color space to YCoCg color space. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::YCoCg2rgb (vec< 3, T, Q > const &YCoCgColor)
 Convert a color from YCoCg color space to RGB color space. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::rgb2YCoCgR (vec< 3, T, Q > const &rgbColor)
 Convert a color from RGB color space to YCoCgR color space. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::YCoCgR2rgb (vec< 3, T, Q > const &YCoCgColor)
 Convert a color from YCoCgR color space to RGB color space. More...
 

Detailed Description

GLM_GTX_color_space_YCoCg

See also
Core features (dependence)