#[non_exhaustive]#[repr(i32)]pub enum StencilOp {
Keep = 0,
Zero = 1,
Replace = 2,
IncrementAndClamp = 3,
DecrementAndClamp = 4,
Invert = 5,
IncrementAndWrap = 6,
DecrementAndWrap = 7,
}
Expand description
Operation to perform after the depth and stencil tests.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Keep = 0
Zero = 1
Replace = 2
IncrementAndClamp = 3
DecrementAndClamp = 4
Invert = 5
IncrementAndWrap = 6
DecrementAndWrap = 7
Trait Implementations§
source§impl PartialEq for StencilOp
impl PartialEq for StencilOp
impl Copy for StencilOp
impl Eq for StencilOp
impl StructuralEq for StencilOp
impl StructuralPartialEq for StencilOp
Auto Trait Implementations§
impl RefUnwindSafe for StencilOp
impl Send for StencilOp
impl Sync for StencilOp
impl Unpin for StencilOp
impl UnwindSafe for StencilOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more