[][src]Struct intel_genxml::gen12::BlendStateEntry

pub struct BlendStateEntry {
    pub write_disable_blue: bool,
    pub write_disable_green: bool,
    pub write_disable_red: bool,
    pub write_disable_alpha: bool,
    pub alpha_blend_function: _3dColorBufferBlendFunction,
    pub destination_alpha_blend_factor: _3dColorBufferBlendFactor,
    pub source_alpha_blend_factor: _3dColorBufferBlendFactor,
    pub color_blend_function: _3dColorBufferBlendFunction,
    pub destination_blend_factor: _3dColorBufferBlendFactor,
    pub source_blend_factor: _3dColorBufferBlendFactor,
    pub color_buffer_blend_enable: bool,
    pub post_blend_color_clamp_enable: bool,
    pub pre_blend_color_clamp_enable: bool,
    pub color_clamp_range: u32,
    pub pre_blend_source_only_clamp_enable: bool,
    pub logic_op_function: _3dLogicOpFunction,
    pub logic_op_enable: bool,
}

Fields

write_disable_blue: boolwrite_disable_green: boolwrite_disable_red: boolwrite_disable_alpha: boolalpha_blend_function: _3dColorBufferBlendFunctiondestination_alpha_blend_factor: _3dColorBufferBlendFactorsource_alpha_blend_factor: _3dColorBufferBlendFactorcolor_blend_function: _3dColorBufferBlendFunctiondestination_blend_factor: _3dColorBufferBlendFactorsource_blend_factor: _3dColorBufferBlendFactorcolor_buffer_blend_enable: boolpost_blend_color_clamp_enable: boolpre_blend_color_clamp_enable: boolcolor_clamp_range: u32pre_blend_source_only_clamp_enable: boollogic_op_function: _3dLogicOpFunctionlogic_op_enable: bool

Methods

impl BlendStateEntry[src]

pub const DWORD_LENGTH: u32[src]

pub const COLORCLAMP_RTFORMAT: u32[src]

pub const COLORCLAMP_SNORM: u32[src]

pub const COLORCLAMP_UNORM: u32[src]

Trait Implementations

impl Default for BlendStateEntry[src]

impl Deserialize for BlendStateEntry[src]

impl<'_> From<&'_ [u32; 2]> for BlendStateEntry[src]

impl Serialize for BlendStateEntry[src]

type Out = [u32; 2]

Auto Trait Implementations

impl RefUnwindSafe for BlendStateEntry

impl Send for BlendStateEntry

impl Sync for BlendStateEntry

impl Unpin for BlendStateEntry

impl UnwindSafe for BlendStateEntry

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.