[][src]Struct fna3d::DepthStencilState

pub struct DepthStencilState { /* fields omitted */ }

Pipeline

Implementations

impl DepthStencilState[src]

Wrap enums and booleans

pub fn raw(&self) -> &FNA3D_DepthStencilState[src]

pub fn raw_mut(&mut self) -> &mut FNA3D_DepthStencilState[src]

pub fn none() -> Self[src]

pub fn is_depth_buffer_enabled(&self) -> bool[src]

pub fn set_is_depth_buffer_enabled(&mut self, b: bool)[src]

pub fn is_depth_buffer_write_enabled(&self) -> bool[src]

pub fn set_is_depth_buffer_write_enabled(&mut self, b: bool)[src]

pub fn depth_buffer_function(&self) -> CompareFunction[src]

pub fn set_depth_buffer_function(&mut self, f: CompareFunction)[src]

pub fn is_stencil_enabled(&self) -> bool[src]

pub fn set_is_stencil_enabled(&mut self, b: bool)[src]

pub fn stencil_mask(&self) -> i32[src]

pub fn set_stencil_mask(&mut self, mask: i32)[src]

pub fn stencik_write_mask(&self) -> i32[src]

pub fn set_stencik_write_mask(&mut self, mask: i32)[src]

pub fn is_two_sided_stencil_mode(&self) -> bool[src]

pub fn set_two_sided_stencil_mode(&mut self, b: bool)[src]

pub fn stencil_fail(&self) -> StencilOperation[src]

pub fn set_stencil_fail(&mut self, stencil: StencilOperation)[src]

pub fn stencil_depth_buffer_fail(&self) -> StencilOperation[src]

pub fn set_stencil_depth_buffer_fail(&mut self, stencil: StencilOperation)[src]

pub fn stencil_pass(&self) -> StencilOperation[src]

pub fn set_stencil_pass(&mut self, stencil: StencilOperation)[src]

pub fn stencil_function(&self) -> CompareFunction[src]

pub fn ccw_stencil_fail(&self) -> StencilOperation[src]

pub fn set_ccw_stencil_fail(&mut self, stencil: StencilOperation)[src]

pub fn ccw_stencil_depth_buffer_fail(&self) -> StencilOperation[src]

pub fn set_ccw_stencil_depth_buffer_fail(&mut self, stencil: StencilOperation)[src]

pub fn ccw_stencil_pass(&self) -> StencilOperation[src]

pub fn set_ccw_stencil_pass(&mut self, stencil: StencilOperation)[src]

pub fn ccw_stencil_function(&self) -> StencilOperation[src]

pub fn set_ccw_stencil_function(&mut self, stencil: StencilOperation)[src]

pub fn reference_stencil(&self) -> i32[src]

pub fn set_renference_stencil(&mut self, stencil: i32)[src]

Trait Implementations

impl Clone for DepthStencilState[src]

impl Debug for DepthStencilState[src]

impl Default for 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.