[][src]Function rendy::texture::palette::load_from_srgba

pub fn load_from_srgba<T>(
    palette: Alpha<Rgb<Srgb, T>, T>
) -> TextureBuilder<'static> where
    T: Component,
    Alpha<Rgb<Srgb, T>, T>: Into<Pixel<Rgba, _8, Srgb>>, 

Function to load texture from palette pixels.