Enum three_d::core::render_states::DepthTest [−][src]
pub enum DepthTest {
Never,
Less,
Equal,
LessOrEqual,
Greater,
NotEqual,
GreaterOrEqual,
Always,
}
Expand description
Determines whether or not a fragment/pixel from the current render call should be discarded when comparing its depth with the depth of the current fragment/pixel.
Note: Depth test is disabled if the render call is not writing to a depth texture.
Variants
Never
Less
Equal
LessOrEqual
Greater
NotEqual
GreaterOrEqual
Always
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DepthTest
impl UnwindSafe for DepthTest
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more