Struct rafx_api::RafxBlendStateRenderTarget[][src]

pub struct RafxBlendStateRenderTarget {
    pub src_factor: RafxBlendFactor,
    pub dst_factor: RafxBlendFactor,
    pub src_factor_alpha: RafxBlendFactor,
    pub dst_factor_alpha: RafxBlendFactor,
    pub blend_op: RafxBlendOp,
    pub blend_op_alpha: RafxBlendOp,
    pub masks: RafxColorFlags,
}

Configures blend state for a particular render target

Fields

src_factor: RafxBlendFactordst_factor: RafxBlendFactorsrc_factor_alpha: RafxBlendFactordst_factor_alpha: RafxBlendFactorblend_op: RafxBlendOpblend_op_alpha: RafxBlendOpmasks: RafxColorFlags

Implementations

impl RafxBlendStateRenderTarget[src]

impl RafxBlendStateRenderTarget[src]

pub fn blend_enabled(&self) -> bool[src]

Trait Implementations

impl Clone for RafxBlendStateRenderTarget[src]

impl Debug for RafxBlendStateRenderTarget[src]

impl Default for RafxBlendStateRenderTarget[src]

impl Eq for RafxBlendStateRenderTarget[src]

impl Hash for RafxBlendStateRenderTarget[src]

impl PartialEq<RafxBlendStateRenderTarget> for RafxBlendStateRenderTarget[src]

impl StructuralEq for RafxBlendStateRenderTarget[src]

impl StructuralPartialEq for RafxBlendStateRenderTarget[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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

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

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

impl<T> Resource for T where
    T: Downcast + Send + Sync
[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.