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

Optional depth test configuration

Optional stencil test on the front faces

Optional stencil test on the back faces

Trait Implementations

impl PartialEq for DepthStencilInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for DepthStencilInfo
[src]

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

Feeds a slice of this type into the state provided.

impl Eq for DepthStencilInfo
[src]

impl Debug for DepthStencilInfo
[src]

Formats the value using the given formatter.

impl Copy for DepthStencilInfo
[src]

impl Clone for DepthStencilInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Depth> for DepthStencilInfo
[src]

Performs the conversion.

impl From<Stencil> for DepthStencilInfo
[src]

Performs the conversion.

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

Performs the conversion.