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