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: BlendFactorMultiplier for the source, which is produced by the fragment shader.
dst_factor: BlendFactorMultiplier for the destination, which is stored in the target.
operation: BlendOperationThe 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 BlendComponentimpl Send for BlendComponentimpl Sync for BlendComponentimpl Unpin for BlendComponentimpl UnwindSafe for BlendComponentBlanket Implementations
Mutably borrows from an owned value. Read more