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