[][src]Struct fna3d_sys::FNA3D_DepthStencilState

#[repr(C)]pub struct FNA3D_DepthStencilState {
    pub depthBufferEnable: u8,
    pub depthBufferWriteEnable: u8,
    pub depthBufferFunction: FNA3D_CompareFunction,
    pub stencilEnable: u8,
    pub stencilMask: i32,
    pub stencilWriteMask: i32,
    pub twoSidedStencilMode: u8,
    pub stencilFail: FNA3D_StencilOperation,
    pub stencilDepthBufferFail: FNA3D_StencilOperation,
    pub stencilPass: FNA3D_StencilOperation,
    pub stencilFunction: FNA3D_CompareFunction,
    pub ccwStencilFail: FNA3D_StencilOperation,
    pub ccwStencilDepthBufferFail: FNA3D_StencilOperation,
    pub ccwStencilPass: FNA3D_StencilOperation,
    pub ccwStencilFunction: FNA3D_CompareFunction,
    pub referenceStencil: i32,
}

Fields

depthBufferEnable: u8depthBufferWriteEnable: u8depthBufferFunction: FNA3D_CompareFunctionstencilEnable: u8stencilMask: i32stencilWriteMask: i32twoSidedStencilMode: u8stencilFail: FNA3D_StencilOperationstencilDepthBufferFail: FNA3D_StencilOperationstencilPass: FNA3D_StencilOperationstencilFunction: FNA3D_CompareFunctionccwStencilFail: FNA3D_StencilOperationccwStencilDepthBufferFail: FNA3D_StencilOperationccwStencilPass: FNA3D_StencilOperationccwStencilFunction: FNA3D_CompareFunctionreferenceStencil: i32

Trait Implementations

impl Clone for FNA3D_DepthStencilState[src]

impl Copy for FNA3D_DepthStencilState[src]

impl Debug for FNA3D_DepthStencilState[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> From<T> for T[src]

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