pub struct LumaMaskNode {
pub mask_rgba: Vec<u8>,
pub mask_width: u32,
pub mask_height: u32,
}Expand description
Mask inputs[0] using the BT.709 luma of inputs[1] (or mask_rgba).
The mask luma (0.0–1.0) is multiplied into the base alpha channel.
Fields§
§mask_rgba: Vec<u8>Mask frame RGBA bytes (required for the CPU path).
mask_width: u32Width of mask_rgba.
mask_height: u32Height of mask_rgba.
Implementations§
Trait Implementations§
Source§impl RenderNodeCpu for LumaMaskNode
impl RenderNodeCpu for LumaMaskNode
Auto Trait Implementations§
impl Freeze for LumaMaskNode
impl RefUnwindSafe for LumaMaskNode
impl Send for LumaMaskNode
impl Sync for LumaMaskNode
impl Unpin for LumaMaskNode
impl UnsafeUnpin for LumaMaskNode
impl UnwindSafe for LumaMaskNode
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