pub struct BlendDesc {
pub logic_op: Option<LogicOp>,
pub targets: Vec<ColorBlendDesc>,
}
Expand description
A description of an equation for how to blend transparent, overlapping fragments.
Fields§
§logic_op: Option<LogicOp>
The logic operation to apply to the blending equation, if any.
targets: Vec<ColorBlendDesc>
Which color targets to apply the blending operation to.
Trait Implementations§
impl StructuralPartialEq for BlendDesc
Auto Trait Implementations§
impl Freeze for BlendDesc
impl RefUnwindSafe for BlendDesc
impl Send for BlendDesc
impl Sync for BlendDesc
impl Unpin for BlendDesc
impl UnwindSafe for BlendDesc
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