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
Src + Dst
Src - Dst
Dst - Src
min(Src, Dst)
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