color_encoding.hpp
Go to the documentation of this file.
#pragma once
// Dependencies
#include "../detail/setup.hpp"
#include "../detail/precision.hpp"
#include "../vec3.hpp"
#include <limits>
#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTC_color_encoding extension included")
#endif
namespace glm
{
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> convertLinearSRGBToD65XYZ(tvec3<T, P> const& ColorLinearSRGB);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> convertD65XYZToLinearSRGB(tvec3<T, P> const& ColorD65XYZ);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> convertD50XYZToD65XYZ(tvec3<T, P> const& ColorD50XYZ);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> convertD65XYZToD50XYZ(tvec3<T, P> const& ColorD65XYZ);
} //namespace glm
#include "color_encoding.inl"
glm::convertLinearSRGBToD65XYZ
GLM_FUNC_DECL tvec3< T, P > convertLinearSRGBToD65XYZ(tvec3< T, P > const &ColorLinearSRGB)
Convert a linear sRGB color to D65 YUV.
glm::convertD50XYZToD65XYZ
GLM_FUNC_DECL tvec3< T, P > convertD50XYZToD65XYZ(tvec3< T, P > const &ColorD50XYZ)
Convert a D50 YUV color to D65 YUV.
glm::convertD65XYZToD50XYZ
GLM_FUNC_DECL tvec3< T, P > convertD65XYZToD50XYZ(tvec3< T, P > const &ColorD65XYZ)
Convert a D65 YUV color to D50 YUV.
glm
Definition: _noise.hpp:11
glm::convertD65XYZToLinearSRGB
GLM_FUNC_DECL tvec3< T, P > convertD65XYZToLinearSRGB(tvec3< T, P > const &ColorD65XYZ)
Convert a D65 YUV color to linear sRGB.