[go: up one dir, main page]

Enum gfx::shade::core::IsComparison []

pub enum IsComparison {
    Compare,
    NoCompare,
}

Whether the sampler compares the depth value upon sampling.

Variants

Trait Implementations

impl Eq for IsComparison

impl PartialEq<IsComparison> for IsComparison

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

This method tests for !=.

impl Clone for IsComparison

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for IsComparison

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

Feeds a slice of this type into the state provided.

impl Copy for IsComparison

impl Debug for IsComparison

Formats the value using the given formatter.