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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DepthStencilInfo
[src]

impl Debug for DepthStencilInfo
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for DepthStencilInfo
[src]

impl Hash for DepthStencilInfo
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for DepthStencilInfo
[src]

[src]

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

[src]

This method tests for !=.

impl From<Depth> for DepthStencilInfo
[src]

[src]

Performs the conversion.

impl From<Stencil> for DepthStencilInfo
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.