17 #include "../detail/setup.hpp"
18 #include "../detail/precision.hpp"
19 #include "../vec3.hpp"
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTC_color_encoding extension included")
32 template <
typename T, precision P>
36 template <
typename T, precision P>
40 template <
typename T, precision P>
44 template <
typename T, precision P>
50 #include "color_encoding.inl"
GLM_FUNC_DECL tvec3< T, P > convertLinearSRGBToD65XYZ(tvec3< T, P > const &ColorLinearSRGB)
Convert a linear sRGB color to D65 YUV.
GLM_FUNC_DECL tvec3< T, P > convertD50XYZToD65XYZ(tvec3< T, P > const &ColorD50XYZ)
Convert a D50 YUV color to D65 YUV.
GLM_FUNC_DECL tvec3< T, P > convertD65XYZToD50XYZ(tvec3< T, P > const &ColorD65XYZ)
Convert a D65 YUV color to D50 YUV.
GLM_FUNC_DECL tvec3< T, P > convertD65XYZToLinearSRGB(tvec3< T, P > const &ColorD65XYZ)
Convert a D65 YUV color to linear sRGB.