Enum tetra::graphics::StencilTest [−][src]
pub enum StencilTest {
Never,
LessThan,
LessThanOrEqualTo,
EqualTo,
NotEqualTo,
GreaterThan,
GreaterThanOrEqualTo,
Always,
}
Expand description
The test for whether a pixel is visible when using a stencil.
Variants
The pixel is never visible.
The pixel is visible if the reference value is less than the value in the stencil buffer.
The pixel is visible if the reference value is less than or equal to the value in the stencil buffer.
The pixel is visible if the reference value is equal to the value in the stencil buffer.
The pixel is visible if the reference value is not equal to the value in the stencil buffer.
The pixel is visible if the reference value is greater than the value in the stencil buffer.
The pixel is visible if the reference value is greater than or equal to the value in the stencil buffer.
The pixel is always visible.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StencilTest
impl Send for StencilTest
impl Sync for StencilTest
impl Unpin for StencilTest
impl UnwindSafe for StencilTest
Blanket Implementations
Mutably borrows from an owned value. Read more