pub enum Blend {
Opaque,
Over,
Add,
}Expand description
How a draw pipeline combines fragments with the target.
Variants§
Opaque
Replace (3D meshes with depth).
Over
Premultiplied source-over.
Add
Additive (sparks, light).
Trait Implementations§
impl Copy for Blend
impl Eq for Blend
impl StructuralPartialEq for Blend
Auto Trait Implementations§
impl Forget for Blend
impl Freeze for Blend
impl Move for Blend
impl RefUnwindSafe for Blend
impl Send for Blend
impl Sync for Blend
impl Unpin for Blend
impl UnsafeUnpin for Blend
impl UnwindSafe for Blend
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