pub struct ColorTarget {
pub format: TextureFormat,
pub blend: BlendMode,
}Expand description
One color attachment a render pipeline writes.
Fields§
§format: TextureFormatAttachment format.
blend: BlendModeBlend behavior.
Trait Implementations§
Source§impl Clone for ColorTarget
impl Clone for ColorTarget
impl Copy for ColorTarget
Source§impl Debug for ColorTarget
impl Debug for ColorTarget
impl Eq for ColorTarget
Source§impl PartialEq for ColorTarget
impl PartialEq for ColorTarget
impl StructuralPartialEq for ColorTarget
Auto Trait Implementations§
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