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