[−][src]Struct dxplr::d3d11::DepthStencilDesc
Fields
depth_enable: bool
depth_write_mask: DepthWriteMask
depth_func: ComparisonFunc
stencil_enable: bool
stencil_read_mask: u8
stencil_write_mask: u8
front_face: DepthStencilOpDesc
back_face: DepthStencilOpDesc
Methods
impl DepthStencilDesc
[src]
pub fn new() -> Self
[src]
pub fn depth_enable(self, depth_enable: bool) -> Self
[src]
pub fn depth_write_mask(self, depth_write_mask: DepthWriteMask) -> Self
[src]
pub fn depth_func(self, depth_func: ComparisonFunc) -> Self
[src]
pub fn stencil_enable(self, stencil_enable: bool) -> Self
[src]
pub fn stencil_read_mask(self, stencil_read_mask: u8) -> Self
[src]
pub fn stencil_write_mask(self, stencil_write_mask: u8) -> Self
[src]
pub fn front_face(self, front_face: DepthStencilOpDesc) -> Self
[src]
pub fn back_face(self, back_face: DepthStencilOpDesc) -> Self
[src]
Trait Implementations
impl Clone for DepthStencilDesc
[src]
fn clone(&self) -> DepthStencilDesc
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DepthStencilDesc
[src]
impl Default for DepthStencilDesc
[src]
impl From<D3D11_DEPTH_STENCIL_DESC> for DepthStencilDesc
[src]
fn from(src: D3D11_DEPTH_STENCIL_DESC) -> DepthStencilDesc
[src]
Auto Trait Implementations
impl RefUnwindSafe for DepthStencilDesc
impl Send for DepthStencilDesc
impl Sync for DepthStencilDesc
impl Unpin for DepthStencilDesc
impl UnwindSafe for DepthStencilDesc
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,