[−][src]Function rendy_texture::palette::load_from_luma
pub fn load_from_luma<T>(palette: SrgbLuma<T>) -> TextureBuilder<'static> where
T: Component,
SrgbLuma<T>: Into<R8Srgb>,
Function to load texture from palette
pixels.