pub struct ColorTarget {
pub format: Format,
pub blend: Option<Blend>,
pub write_mask: u32,
}Expand description
a colour target of a render pipeline
Fields§
§format: Format§blend: Option<Blend>§write_mask: u32bits 0..3 = r, g, b, a (0xF: all)
Trait Implementations§
Source§impl Clone for ColorTarget
impl Clone for ColorTarget
impl Copy for ColorTarget
Auto Trait Implementations§
impl Forget for ColorTarget
impl Freeze for ColorTarget
impl RefUnwindSafe for ColorTarget
impl Send for ColorTarget
impl Sync for ColorTarget
impl Unpin for ColorTarget
impl UnsafeUnpin for ColorTarget
impl UnwindSafe for ColorTarget
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