Struct gfx_hal::pso::DepthStencilDesc
source · pub struct DepthStencilDesc {
pub depth: DepthTest,
pub depth_bounds: bool,
pub stencil: StencilTest,
}
Expand description
PSO depth-stencil target descriptor.
Fields
depth: DepthTest
Optional depth testing/writing.
depth_bounds: bool
Enable depth bounds testing.
stencil: StencilTest
Stencil test/write.
Trait Implementations
sourceimpl Clone for DepthStencilDesc
impl Clone for DepthStencilDesc
sourcefn clone(&self) -> DepthStencilDesc
fn clone(&self) -> DepthStencilDesc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DepthStencilDesc
impl Debug for DepthStencilDesc
sourceimpl Default for DepthStencilDesc
impl Default for DepthStencilDesc
sourcefn default() -> DepthStencilDesc
fn default() -> DepthStencilDesc
Returns the “default value” for a type. Read more
sourceimpl Hash for DepthStencilDesc
impl Hash for DepthStencilDesc
sourceimpl PartialEq<DepthStencilDesc> for DepthStencilDesc
impl PartialEq<DepthStencilDesc> for DepthStencilDesc
sourcefn eq(&self, other: &DepthStencilDesc) -> bool
fn eq(&self, other: &DepthStencilDesc) -> bool
impl Copy for DepthStencilDesc
impl Eq for DepthStencilDesc
impl StructuralEq for DepthStencilDesc
impl StructuralPartialEq for DepthStencilDesc
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more