[][src]Struct intel_genxml::gen12::BlendState

pub struct BlendState {
    pub y_dither_offset: u32,
    pub x_dither_offset: u32,
    pub color_dither_enable: bool,
    pub alpha_test_function: _3dCompareFunction,
    pub alpha_test_enable: bool,
    pub alpha_to_coverage_dither_enable: bool,
    pub alpha_to_one_enable: bool,
    pub independent_alpha_blend_enable: bool,
    pub alpha_to_coverage_enable: bool,
}

Fields

y_dither_offset: u32x_dither_offset: u32color_dither_enable: boolalpha_test_function: _3dCompareFunctionalpha_test_enable: boolalpha_to_coverage_dither_enable: boolalpha_to_one_enable: boolindependent_alpha_blend_enable: boolalpha_to_coverage_enable: bool

Methods

impl BlendState[src]

pub const DWORD_LENGTH: u32[src]

Trait Implementations

impl Default for BlendState[src]

impl Deserialize for BlendState[src]

impl<'_> From<&'_ [u32; 1]> for BlendState[src]

impl Serialize for BlendState[src]

type Out = [u32; 1]

Auto Trait Implementations

impl RefUnwindSafe for BlendState

impl Send for BlendState

impl Sync for BlendState

impl Unpin for BlendState

impl UnwindSafe for BlendState

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.