copySRGBToLinear method

Color copySRGBToLinear(
  1. Color color
)

Implementation

Color copySRGBToLinear(Color color) {
  r = SRGBToLinear(color.r);
  g = SRGBToLinear(color.g);
  b = SRGBToLinear(color.b);

  return this;
}