Function linear_xfer_vec4

Source
pub fn linear_xfer_vec4(v: &mut Vec4)
Expand description

Applies a linear transfer function to each component of a Vec4.

This function simulates the gamma correction process by raising each component to the power of 2.2.

Converts from sRGB to linear color space for each component.