17 #include "../detail/setup.hpp" 
   18 #include "../detail/precision.hpp" 
   19 #include "../exponential.hpp" 
   20 #include "../vec3.hpp" 
   21 #include "../vec4.hpp" 
   24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED) 
   25 #       pragma message("GLM: GLM_GTC_color_space extension included") 
   35         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   40         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   41         GLM_FUNC_DECL vecType<T, P> 
convertLinearToSRGB(vecType<T, P> 
const & ColorLinear, T Gamma);
 
   45         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   50         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   56 #include "color_space.inl" 
GLM_FUNC_DECL vecType< T, P > convertSRGBToLinear(vecType< T, P > const &ColorSRGB, T Gamma)
Convert a sRGB color to linear color using a custom gamma correction. 
GLM_FUNC_DECL vecType< T, P > convertLinearToSRGB(vecType< T, P > const &ColorLinear, T Gamma)
Convert a linear color to sRGB color using a custom gamma correction.