Function egui::color::linear_f32_from_gamma_u8[][src]

pub fn linear_f32_from_gamma_u8(s: u8) -> f32
Expand description

gamma [0, 255] -> linear [0, 1].