pub struct WriteMask {
pub red: bool,
pub green: bool,
pub blue: bool,
pub alpha: bool,
pub depth: bool,
}
Expand description
Defines which channels (red, green, blue, alpha and depth) to write to in a render call.
Fields§
§red: bool
§green: bool
§blue: bool
§alpha: bool
§depth: bool
Implementations§
Trait Implementations§
impl Copy for WriteMask
impl StructuralPartialEq for WriteMask
Auto Trait Implementations§
impl Freeze for WriteMask
impl RefUnwindSafe for WriteMask
impl Send for WriteMask
impl Sync for WriteMask
impl Unpin for WriteMask
impl UnwindSafe for WriteMask
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