[−][src]Struct fna3d::DepthStencilState
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]
pub fn clone(&self) -> DepthStencilState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DepthStencilState
[src]
impl Default for DepthStencilState
[src]
Auto Trait Implementations
impl RefUnwindSafe for DepthStencilState
impl Send for DepthStencilState
impl Sync for DepthStencilState
impl Unpin for DepthStencilState
impl UnwindSafe for DepthStencilState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,