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