Enum luminance::depth_stencil::Comparison [−][src]
pub enum Comparison {
Never,
Always,
Equal,
NotEqual,
Less,
LessOrEqual,
Greater,
GreaterOrEqual,
}
Expand description
Comparison to perform for depth / stencil operations. a
is the incoming fragment’s data and b is the fragment’s
data that is already stored.
Variants
Never
Test never succeeds.
Always
Test always succeeds.
Equal
Test succeeds if a == b
.
NotEqual
Test succeeds if a != b
.
Less
Test succeeds if a < b
.
LessOrEqual
Test succeeds if a <= b
.
Greater
Test succeeds if a > b
.
GreaterOrEqual
Test succeeds if a >= b
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnwindSafe for Comparison
Blanket Implementations
Mutably borrows from an owned value. Read more