0.9.9 API documenation
|
Allow to perform bit operations on integer values. More...
Functions | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL vec< L, T, P > | convertLinearToSRGB (vec< L, T, P > const &ColorLinear) |
Convert a linear color to sRGB color using a standard gamma correction. More... | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL vec< L, T, P > | convertLinearToSRGB (vec< L, T, P > const &ColorLinear, T Gamma) |
Convert a linear color to sRGB color using a custom gamma correction. More... | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL vec< L, T, P > | convertSRGBToLinear (vec< L, T, P > const &ColorSRGB) |
Convert a sRGB color to linear color using a standard gamma correction. More... | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL vec< L, T, P > | convertSRGBToLinear (vec< L, T, P > const &ColorSRGB, T Gamma) |
Convert a sRGB color to linear color using a custom gamma correction. | |
Allow to perform bit operations on integer values.
<glm/gtc/color_space.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL vec<L, T, P> glm::convertLinearToSRGB | ( | vec< L, T, P > const & | ColorLinear | ) |
Convert a linear color to sRGB color using a standard gamma correction.
IEC 61966-2-1:1999 / Rec. 709 specification https://www.w3.org/Graphics/Color/srgb
GLM_FUNC_DECL vec<L, T, P> glm::convertLinearToSRGB | ( | vec< L, T, P > const & | ColorLinear, |
T | Gamma | ||
) |
Convert a linear color to sRGB color using a custom gamma correction.
IEC 61966-2-1:1999 / Rec. 709 specification https://www.w3.org/Graphics/Color/srgb
GLM_FUNC_DECL vec<L, T, P> glm::convertSRGBToLinear | ( | vec< L, T, P > const & | ColorSRGB | ) |
Convert a sRGB color to linear color using a standard gamma correction.
IEC 61966-2-1:1999 / Rec. 709 specification https://www.w3.org/Graphics/Color/srgb