Enum mallumo_gls::raw::DepthTest
[−]
[src]
pub enum DepthTest { Ignore, Overwrite, Less, Equal, LessOrEqual, Greater, NotEqual, GreaterOrEqual, }
Variants
Ignore
Never replace the target pixel
Overwrite
Always replace the target pixel
This is the default mode
Less
Replace if the z-value of the source is less than the destination
Equal
Replace if the z-value of the source is equal to the destination
LessOrEqual
Replace if the z-value of the source is less than, or equal to the destination
Greater
Replace if the z-value of the source is more than the destination
NotEqual
Replace if the z-value of the source is different than the destination.
GreaterOrEqual
Replace if the z-value of the source is more than, or equal to the destination.
Trait Implementations
impl Clone for DepthTest
[src]
fn clone(&self) -> DepthTest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for DepthTest
[src]
impl Debug for DepthTest
[src]
impl PartialEq for DepthTest
[src]
fn eq(&self, __arg_0: &DepthTest) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.