Function bevy_retrograde_epaint::color::gamma_u8_from_linear_f32 [−][src]
pub fn gamma_u8_from_linear_f32(l: f32) -> u8
Expand description
linear [0, 1] -> gamma [0, 255] (clamped). Values outside this range will be clamped to the range.