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