toLinearSpace

If rendering in linear space, first convert the values to linear space by rising to the power 2.2


fun Color.toLinearSpace(): Float4

If rendering in linear space, first convert the gray scaled values to linear space by rising to the power 2.2