FlukyEngine
Namespaces | Functions
color_encoding.hpp File Reference

GLM_GTX_color_encoding More...

#include "../detail/setup.hpp"
#include "../detail/qualifier.hpp"
#include "../vec3.hpp"
#include <limits>
#include "color_encoding.inl"
Include dependency graph for color_encoding.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::convertLinearSRGBToD65XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 Convert a linear sRGB color to D65 YUV.
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::convertLinearSRGBToD50XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 Convert a linear sRGB color to D50 YUV.
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::convertD65XYZToLinearSRGB (vec< 3, T, Q > const &ColorD65XYZ)
 Convert a D65 YUV color to linear sRGB.
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::convertD65XYZToD50XYZ (vec< 3, T, Q > const &ColorD65XYZ)
 Convert a D65 YUV color to D50 YUV.
 

Detailed Description

GLM_GTX_color_encoding

See also
Core features (dependence)
GLM_GTX_color_encoding (dependence)