[][src]Struct rafx_api::RafxDepthState

pub struct RafxDepthState {
    pub depth_test_enable: bool,
    pub depth_write_enable: bool,
    pub depth_compare_op: RafxCompareOp,
    pub stencil_test_enable: bool,
    pub stencil_read_mask: u8,
    pub stencil_write_mask: u8,
    pub front_depth_fail_op: RafxStencilOp,
    pub front_stencil_compare_op: RafxCompareOp,
    pub front_stencil_fail_op: RafxStencilOp,
    pub front_stencil_pass_op: RafxStencilOp,
    pub back_depth_fail_op: RafxStencilOp,
    pub back_stencil_compare_op: RafxCompareOp,
    pub back_stencil_fail_op: RafxStencilOp,
    pub back_stencil_pass_op: RafxStencilOp,
}

Fields

depth_test_enable: booldepth_write_enable: booldepth_compare_op: RafxCompareOpstencil_test_enable: boolstencil_read_mask: u8stencil_write_mask: u8front_depth_fail_op: RafxStencilOpfront_stencil_compare_op: RafxCompareOpfront_stencil_fail_op: RafxStencilOpfront_stencil_pass_op: RafxStencilOpback_depth_fail_op: RafxStencilOpback_stencil_compare_op: RafxCompareOpback_stencil_fail_op: RafxStencilOpback_stencil_pass_op: RafxStencilOp

Implementations

impl RafxDepthState[src]

Trait Implementations

impl Clone for RafxDepthState[src]

impl Debug for RafxDepthState[src]

impl Default for RafxDepthState[src]

impl<'de> Deserialize<'de> for RafxDepthState[src]

impl Eq for RafxDepthState[src]

impl Hash for RafxDepthState[src]

impl PartialEq<RafxDepthState> for RafxDepthState[src]

impl Serialize for RafxDepthState[src]

impl StructuralEq for RafxDepthState[src]

impl StructuralPartialEq for RafxDepthState[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

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

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.