Struct sierra::Blending[][src]

pub struct Blending {
    pub color_src_factor: BlendFactor,
    pub color_dst_factor: BlendFactor,
    pub color_op: BlendOp,
    pub alpha_src_factor: BlendFactor,
    pub alpha_dst_factor: BlendFactor,
    pub alpha_op: BlendOp,
}

Defines how color value from fragment shader’s color output should be blended with value stored in attachment.

Fields

color_src_factor: BlendFactor

Blend factory to apply to color component values from fragment shader’s color output.

color_dst_factor: BlendFactor

Blend factory to apply to color component values stored in attachment.

color_op: BlendOp

Operation to be performed over color component values.

alpha_src_factor: BlendFactor

Blend factory to apply to alpha component value from fragment shader’s color output.

alpha_dst_factor: BlendFactor

Blend factory to apply to alpha component value stored in attachment.

alpha_op: BlendOp

Operation to be performed over alpha component values.

Trait Implementations

impl Clone for Blending[src]

impl Copy for Blending[src]

impl Debug for Blending[src]

impl Eq for Blending[src]

impl Hash for Blending[src]

impl PartialEq<Blending> for Blending[src]

impl StructuralEq for Blending[src]

impl StructuralPartialEq for Blending[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.