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