Enum mallumo_gls::raw::DepthTest [] [src]

pub enum DepthTest {
    Ignore,
    Overwrite,
    Less,
    Equal,
    LessOrEqual,
    Greater,
    NotEqual,
    GreaterOrEqual,
}

Variants

Never replace the target pixel

Always replace the target pixel

This is the default mode

Replace if the z-value of the source is less than the destination

Replace if the z-value of the source is equal to the destination

Replace if the z-value of the source is less than, or equal to the destination

Replace if the z-value of the source is more than the destination

Replace if the z-value of the source is different than the destination.

Replace if the z-value of the source is more than, or equal to the destination.

Trait Implementations

impl Clone for DepthTest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DepthTest
[src]

impl Debug for DepthTest
[src]

Formats the value using the given formatter.

impl PartialEq for DepthTest
[src]

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

This method tests for !=.

impl Eq for DepthTest
[src]

impl Default for DepthTest
[src]

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