Enum luminance::texture::DepthComparison [] [src]

pub enum DepthComparison {
    Never,
    Always,
    Equal,
    NotEqual,
    Less,
    LessOrEqual,
    Greater,
    GreaterOrEqual,
}

Depth comparison to perform while depth test. a is the incoming fragment’s depth and b is the fragment’s depth that is already stored.

Variants

Depth test never succeeds.

Depth test always succeeds.

Depth test succeeds if a == b.

Depth test succeeds if a != b.

Depth test succeeds if a < b.

Depth test succeeds if a <= b.

Depth test succeeds if a > b.

Depth test succeeds if a >= b.

Trait Implementations

impl Clone for DepthComparison
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DepthComparison
[src]

impl Debug for DepthComparison
[src]

Formats the value using the given formatter.