Struct gfx::state::Depth []

pub struct Depth {
    pub fun: Comparison,
    pub write: bool,
}

Depth test state.

Fields

Comparison function to use.

Specify whether to write to the depth buffer or not.

Trait Implementations

impl Debug for Depth

Formats the value using the given formatter.

impl Hash for Depth

impl PartialOrd<Depth> for Depth

impl PartialEq<Depth> for Depth

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

This method tests for !=.

impl Default for Depth

Returns the "default value" for a type. Read more

impl Eq for Depth

impl Copy for Depth

impl Ord for Depth

impl Clone for Depth

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more