Struct three_d::core::render_states::WriteMask
source · 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§
source§impl WriteMask
impl WriteMask
sourcepub const COLOR_AND_DEPTH: Self = _
pub const COLOR_AND_DEPTH: Self = _
Writes to all channels (red, green, blue, alpha and depth).
Trait Implementations§
source§impl PartialEq for WriteMask
impl PartialEq for WriteMask
impl Copy for WriteMask
impl StructuralPartialEq for WriteMask
Auto Trait Implementations§
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