pub struct ColourLut {
pub side: u32,
pub values: Vec<[f32; 3]>,
pub input_power: f32,
}Expand description
A cubic RGB lookup, red fastest, then green, then blue. Before lookup, raise RGB to input_power;
sample with trilinear filtering at texel centres, clamping to the cube’s edges. The values and filtered result are
sRGB-encoded display RGB. Decode after filtering when writing to a target that encodes sRGB on write.
Fields§
§side: u32§values: Vec<[f32; 3]>§input_power: f32Trait Implementations§
impl StructuralPartialEq for ColourLut
Auto Trait Implementations§
impl Forget for ColourLut
impl Freeze for ColourLut
impl RefUnwindSafe for ColourLut
impl Send for ColourLut
impl Sync for ColourLut
impl Unpin for ColourLut
impl UnsafeUnpin for ColourLut
impl UnwindSafe for ColourLut
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more