Function bevy_retrograde_epaint::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].
pub fn linear_f32_from_gamma_u8(s: u8) -> f32
gamma [0, 255] -> linear [0, 1].