Function re_renderer::grayscale_srgb
source · pub fn grayscale_srgb(t: f32) -> [u8; 4]
Expand description
Returns an sRGB gray value, assuming t
is normalized.
pub fn grayscale_srgb(t: f32) -> [u8; 4]
Returns an sRGB gray value, assuming t
is normalized.