1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
[//]: # (generated using SlashBack 0.2.0)
# color\_space methods
The following methods are all part of the **color\_space methods**\.
Allow to perform bit operations on integer values\.
## Table of contents
* [**convertLinearToSRGB** function](#convertlineartosrgb-function)
* [**convertSRGBToLinear** function](#convertsrgbtolinear-function)
### convertLinearToSRGB\(\) function
#### <code>glm.<code>**convertLinearToSRGB**(**ColorLinear**: *vecN*) -\> *vecN*</code></code>
  Convert a linear color to sRGB color using a standard gamma correction\.
#### <code>glm.<code>**convertLinearToSRGB**(**ColorLinear**: *vecN*, **Gamma**: *number*) -\> *vecN*</code></code>
  Convert a linear color to sRGB color using a custom gamma correction\.
### convertSRGBToLinear\(\) function
#### <code>glm.<code>**convertSRGBToLinear**(**ColorLinear**: *vecN*) -\> *vecN*</code></code>
  Convert a sRGB color to linear color using a standard gamma correction\.
#### <code>glm.<code>**convertSRGBToLinear**(**ColorLinear**: *vecN*, **Gamma**: *number*) -\> *vecN*</code></code>
  Convert a sRGB color to linear color using a custom gamma correction\.
|