Skip to main content

write_lut

Function write_lut 

Source
pub fn write_lut(queue: &Queue, texture: &Texture, bytes: &[u8; 1024])
Expand description

Upload one baked LUT (palette.lut_a_bytes() / lut_b_bytes()) into its 256×1 texture. Off the hot path — called from a scene’s deferred set_palette upload (first frame after a preset switch).