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