Struct gfx::core::pso::DepthStencilInfo
[−]
pub struct DepthStencilInfo {
pub depth: Option<Depth>,
pub front: Option<StencilSide>,
pub back: Option<StencilSide>,
}Depth and stencil state of the PSO.
Fields
depth: Option<Depth>
Optional depth test configuration
front: Option<StencilSide>
Optional stencil test on the front faces
back: Option<StencilSide>
Optional stencil test on the back faces
Trait Implementations
impl PartialEq<DepthStencilInfo> for DepthStencilInfo
fn eq(&self, __arg_0: &DepthStencilInfo) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DepthStencilInfo) -> bool
This method tests for !=.
impl Hash for DepthStencilInfo
impl Eq for DepthStencilInfo
impl Debug for DepthStencilInfo
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Copy for DepthStencilInfo
impl Clone for DepthStencilInfo
fn clone(&self) -> DepthStencilInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl From<Depth> for DepthStencilInfo
fn from(depth: Depth) -> DepthStencilInfo
Performs the conversion.
impl From<Stencil> for DepthStencilInfo
fn from(stencil: Stencil) -> DepthStencilInfo
Performs the conversion.