Struct gfx_core::pso::DepthStencilInfo [] [src]

pub struct DepthStencilInfo {
    pub depth: Option<Depth>,
    pub front: Option<StencilSide>,
    pub back: Option<StencilSide>,
}

Depth and stencil state of the PSO.

Fields

depth

Optional depth test configuration

front

Optional stencil test on the front faces

back

Optional stencil test on the back faces

Trait Implementations

impl From<Depth> for DepthStencilInfo

fn from(depth: Depth) -> DepthStencilInfo

impl From<Stencil> for DepthStencilInfo

fn from(stencil: Stencil) -> DepthStencilInfo

impl From<(Depth, Stencil)> for DepthStencilInfo

fn from(ds: (Depth, Stencil)) -> DepthStencilInfo

Derived Implementations

impl PartialEq for DepthStencilInfo

fn eq(&self, __arg_0: &DepthStencilInfo) -> bool

fn ne(&self, __arg_0: &DepthStencilInfo) -> bool

impl Hash for DepthStencilInfo

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for DepthStencilInfo

impl Debug for DepthStencilInfo

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for DepthStencilInfo

impl Clone for DepthStencilInfo

fn clone(&self) -> DepthStencilInfo

1.0.0fn clone_from(&mut self, source: &Self)