[−][src]Function rendy::texture::palette::load_from_linear_luma
pub fn load_from_linear_luma<W, T>(
palette: Luma<Linear<W>, T>
) -> TextureBuilder<'static> where
T: Component,
W: WhitePoint,
Luma<Linear<W>, T>: Into<Pixel<R, _8, Unorm>>,
Function to load texture from palette
pixels.