[][src]Function amethyst_rendy::loaders::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.