[][src]Function rendy_texture::palette::load_from_srgb

pub fn load_from_srgb<T>(palette: Srgb<T>) -> TextureBuilder<'static> where
    T: Component,
    Srgb<T>: Into<Rgb8Srgb>, 

Function to load texture from palette pixels.