[][src]Struct wgpu::BlendDescriptor

#[repr(C)]pub struct BlendDescriptor {
    pub src_factor: BlendFactor,
    pub dst_factor: BlendFactor,
    pub operation: BlendOperation,

Describes the blend state of a pipeline.

Alpha blending is very complicated: see the OpenGL or Vulkan spec for more information.


src_factor: BlendFactordst_factor: BlendFactoroperation: BlendOperation


impl BlendDescriptor[src]

Trait Implementations

impl Clone for BlendDescriptor[src]

impl Debug for BlendDescriptor[src]

impl Default for BlendDescriptor[src]

impl<'de> Deserialize<'de> for BlendDescriptor[src]

impl Eq for BlendDescriptor[src]

impl Hash for BlendDescriptor[src]

impl PartialEq<BlendDescriptor> for BlendDescriptor[src]

impl Serialize for BlendDescriptor[src]

impl StructuralEq for BlendDescriptor[src]

impl StructuralPartialEq for BlendDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.