[][src]Struct intel_genxml::gen5::ColorCalcState

pub struct ColorCalcState<A: Addr + Default> {
    pub backface_stencil_pass_depth_pass_op: _3dStencilOperation,
    pub backface_stencil_pass_depth_fail_op: _3dStencilOperation,
    pub backface_stencil_fail_op: _3dStencilOperation,
    pub backface_stencil_test_function: _3dCompareFunction,
    pub double_sided_stencil_enable: bool,
    pub stencil_buffer_write_enable: bool,
    pub stencil_pass_depth_pass_op: _3dStencilOperation,
    pub stencil_pass_depth_fail_op: _3dStencilOperation,
    pub stencil_fail_op: _3dStencilOperation,
    pub stencil_test_function: _3dCompareFunction,
    pub stencil_test_enable: bool,
    pub backface_stencil_reference_value: u32,
    pub stencil_write_mask: u32,
    pub stencil_test_mask: u32,
    pub stencil_reference_value: u32,
    pub logic_op_enable: bool,
    pub depth_buffer_write_enable: bool,
    pub depth_test_function: _3dCompareFunction,
    pub depth_test_enable: bool,
    pub backface_stencil_write_mask: u32,
    pub backface_stencil_test_mask: u32,
    pub alpha_test_function: _3dCompareFunction,
    pub alpha_test_enable: bool,
    pub color_buffer_blend_enable: bool,
    pub independent_alpha_blend_enable: bool,
    pub alpha_test_format: u32,
    pub cc_viewport_state_pointer: A,
    pub destination_alpha_blend_factor: _3dColorBufferBlendFactor,
    pub source_alpha_blend_factor: _3dColorBufferBlendFactor,
    pub alpha_blend_function: _3dColorBufferBlendFunction,
    pub statistics_enable: bool,
    pub logic_op_function: _3dLogicOpFunction,
    pub round_disable_function_disable: bool,
    pub color_dither_enable: bool,
    pub post_blend_color_clamp_enable: bool,
    pub pre_blend_color_clamp_enable: bool,
    pub color_clamp_range: u32,
    pub y_dither_offset: u32,
    pub x_dither_offset: u32,
    pub destination_blend_factor: _3dColorBufferBlendFactor,
    pub source_blend_factor: _3dColorBufferBlendFactor,
    pub color_blend_function: _3dColorBufferBlendFunction,
    pub alpha_reference_value_as_unorm8: u32,
    pub alpha_reference_value_as_float32: f32,
}

Fields

backface_stencil_pass_depth_pass_op: _3dStencilOperationbackface_stencil_pass_depth_fail_op: _3dStencilOperationbackface_stencil_fail_op: _3dStencilOperationbackface_stencil_test_function: _3dCompareFunctiondouble_sided_stencil_enable: boolstencil_buffer_write_enable: boolstencil_pass_depth_pass_op: _3dStencilOperationstencil_pass_depth_fail_op: _3dStencilOperationstencil_fail_op: _3dStencilOperationstencil_test_function: _3dCompareFunctionstencil_test_enable: boolbackface_stencil_reference_value: u32stencil_write_mask: u32stencil_test_mask: u32stencil_reference_value: u32logic_op_enable: booldepth_buffer_write_enable: booldepth_test_function: _3dCompareFunctiondepth_test_enable: boolbackface_stencil_write_mask: u32backface_stencil_test_mask: u32alpha_test_function: _3dCompareFunctionalpha_test_enable: boolcolor_buffer_blend_enable: boolindependent_alpha_blend_enable: boolalpha_test_format: u32cc_viewport_state_pointer: Adestination_alpha_blend_factor: _3dColorBufferBlendFactorsource_alpha_blend_factor: _3dColorBufferBlendFactoralpha_blend_function: _3dColorBufferBlendFunctionstatistics_enable: boollogic_op_function: _3dLogicOpFunctionround_disable_function_disable: boolcolor_dither_enable: boolpost_blend_color_clamp_enable: boolpre_blend_color_clamp_enable: boolcolor_clamp_range: u32y_dither_offset: u32x_dither_offset: u32destination_blend_factor: _3dColorBufferBlendFactorsource_blend_factor: _3dColorBufferBlendFactorcolor_blend_function: _3dColorBufferBlendFunctionalpha_reference_value_as_unorm8: u32alpha_reference_value_as_float32: f32

Methods

impl<A: Addr + Default> ColorCalcState<A>[src]

pub const DWORD_LENGTH: u32[src]

pub const ALPHATEST_FLOAT32: u32[src]

pub const ALPHATEST_UNORM8: u32[src]

pub const COLORCLAMP_RTFORMAT: u32[src]

pub const COLORCLAMP_SNORM: u32[src]

pub const COLORCLAMP_UNORM: u32[src]

Trait Implementations

impl<A: Addr + Default> Default for ColorCalcState<A>[src]

impl Deserialize for ColorCalcState<u64>[src]

impl<'_> From<&'_ [u32; 8]> for ColorCalcState<u64>[src]

impl<A: Addr + Default> Serialize for ColorCalcState<A>[src]

type Out = [u32; 8]

Auto Trait Implementations

impl<A> RefUnwindSafe for ColorCalcState<A> where
    A: RefUnwindSafe

impl<A> Send for ColorCalcState<A> where
    A: Send

impl<A> Sync for ColorCalcState<A> where
    A: Sync

impl<A> Unpin for ColorCalcState<A> where
    A: Unpin

impl<A> UnwindSafe for ColorCalcState<A> where
    A: UnwindSafe

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.