[−][src]Function rendy::texture::palette::load_from_linear_rgba
pub fn load_from_linear_rgba<T>(
palette: Alpha<Rgb<Linear<Srgb>, T>, T>
) -> TextureBuilder<'static> where
T: Component,
Alpha<Rgb<Linear<Srgb>, T>, T>: Into<Pixel<Rgba, _8, Unorm>>,
Function to load texture from palette
pixels.