[−][src]Function rendy_texture::palette::load_from_linear_rgb
pub fn load_from_linear_rgb<T>(palette: LinSrgb<T>) -> TextureBuilder<'static> where
T: Component,
LinSrgb<T>: Into<Rgb8Unorm>,
Function to load texture from palette
pixels.