Enum wgpu_types::BlendOperation [−][src]
#[repr(C)]
pub enum BlendOperation {
Add,
Subtract,
ReverseSubtract,
Min,
Max,
}
Expand description
Alpha blend operation.
Alpha blending is very complicated: see the OpenGL or Vulkan spec for more information.
Variants
Add
Src + Dst
Subtract
Src - Dst
ReverseSubtract
Dst - Src
Min
min(Src, Dst)
Max
max(Src, Dst)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlendOperation
impl Send for BlendOperation
impl Sync for BlendOperation
impl Unpin for BlendOperation
impl UnwindSafe for BlendOperation
Blanket Implementations
Mutably borrows from an owned value. Read more