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: 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 for DepthStencilInfo
[src]

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
[src]

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

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl Eq for DepthStencilInfo
[src]

impl Debug for DepthStencilInfo
[src]

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

Formats the value using the given formatter.

impl Copy for DepthStencilInfo
[src]

impl Clone for DepthStencilInfo
[src]

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
[src]

fn from(depth: Depth) -> DepthStencilInfo

Performs the conversion.

impl From<Stencil> for DepthStencilInfo
[src]

fn from(stencil: Stencil) -> DepthStencilInfo

Performs the conversion.

impl From<(Depth, Stencil)> for DepthStencilInfo
[src]

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

Performs the conversion.