pub struct TargetState {
pub blend: Option<Blend>,
pub write_mask: u8,
}Expand description
What one render target does with a fragment: its blend and which channels it writes.
Fields§
§blend: Option<Blend>None where the target is not blended.
write_mask: u8The channels written: bit 0 red, 1 green, 2 blue, 3 alpha (0xf all).
Trait Implementations§
Source§impl Clone for TargetState
impl Clone for TargetState
impl Copy for TargetState
Source§impl Debug for TargetState
impl Debug for TargetState
impl Eq for TargetState
Source§impl Hash for TargetState
impl Hash for TargetState
Source§impl PartialEq for TargetState
impl PartialEq for TargetState
Source§impl Serialize for TargetState
impl Serialize for TargetState
impl StructuralPartialEq for TargetState
Auto Trait Implementations§
impl Freeze for TargetState
impl RefUnwindSafe for TargetState
impl Send for TargetState
impl Sync for TargetState
impl Unpin for TargetState
impl UnsafeUnpin for TargetState
impl UnwindSafe for TargetState
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