Function epaint::color::gamma_u8_from_linear_f32[][src]

pub fn gamma_u8_from_linear_f32(l: f32) -> u8

linear [0, 1] -> gamma [0, 255] (clamped). Values outside this range will be clamped to the range.