0.9.9 API documentation
|
Go to the source code of this file.
Functions | |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL vec< L, T, Q > | convertLinearToSRGB (vec< L, T, Q > const &ColorLinear) |
Convert a linear color to sRGB color using a standard gamma correction. More... | |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL vec< L, T, Q > | convertLinearToSRGB (vec< L, T, Q > const &ColorLinear, T Gamma) |
Convert a linear color to sRGB color using a custom gamma correction. More... | |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL vec< L, T, Q > | convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB) |
Convert a sRGB color to linear color using a standard gamma correction. More... | |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL vec< L, T, Q > | convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB, T Gamma) |
Convert a sRGB color to linear color using a custom gamma correction. | |
Definition in file gtc/color_space.hpp.