Struct wgpu_types::BlendComponent [−][src]
#[repr(C)]pub struct BlendComponent { pub src_factor: BlendFactor, pub dst_factor: BlendFactor, pub operation: BlendOperation, }
Expand description
Describes the blend component of a pipeline.
Fields
src_factor: BlendFactor
Multiplier for the source, which is produced by the fragment shader.
dst_factor: BlendFactor
Multiplier for the destination, which is stored in the target.
operation: BlendOperation
The binary operation applied to the source and destination, multiplied by their respective factors.
Implementations
Returns true if the state relies on the constant color, which is set independently on a render command encoder.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BlendComponent
impl Send for BlendComponent
impl Sync for BlendComponent
impl Unpin for BlendComponent
impl UnwindSafe for BlendComponent
Blanket Implementations
Mutably borrows from an owned value. Read more