[][src]Enum glium::uniforms::DepthTextureComparison

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

The depth texture comparison operation to use when comparing the r value to the value in the currently bound texture.

Variants

LessOrEqual

The r value is less than or equal to the texture value

GreaterOrEqual

The r value is greater than or equal to the texture value

Less

The r value is less than to the texture value

Greater

The r value is greater than to the texture value

Equal

The r value is equal to the texture value

NotEqual

The r value is not equal to the texture value

Always

Always return 1.0 (true)

Never

Never return 1.0 will return 0.0 (false)

Trait Implementations

impl Clone for DepthTextureComparison[src]

impl Copy for DepthTextureComparison[src]

impl Debug for DepthTextureComparison[src]

impl Eq for DepthTextureComparison[src]

impl Hash for DepthTextureComparison[src]

impl PartialEq<DepthTextureComparison> for DepthTextureComparison[src]

impl StructuralEq for DepthTextureComparison[src]

impl StructuralPartialEq for DepthTextureComparison[src]

Auto Trait Implementations

impl RefUnwindSafe for DepthTextureComparison

impl Send for DepthTextureComparison

impl Sync for DepthTextureComparison

impl Unpin for DepthTextureComparison

impl UnwindSafe for DepthTextureComparison

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.