[−][src]Function rendy::texture::palette::load_from_srgb
pub fn load_from_srgb<T>(palette: Rgb<Srgb, T>) -> TextureBuilder<'static> where
T: Component,
Rgb<Srgb, T>: Into<Pixel<Rgb, _8, Srgb>>,
Function to load texture from palette
pixels.