Enum wgpu_types::StencilOperation [−][src]
#[repr(C)]
pub enum StencilOperation {
Keep,
Zero,
Replace,
Invert,
IncrementClamp,
DecrementClamp,
IncrementWrap,
DecrementWrap,
}Expand description
Operation to perform on the stencil value.
Variants
Keep stencil value unchanged.
Set stencil value to zero.
Replace stencil value with value provided in most recent call to [RenderPass::set_stencil_reference].
Bitwise inverts stencil value.
Increments stencil value by one, clamping on overflow.
Decrements stencil value by one, clamping on underflow.
Increments stencil value by one, wrapping on overflow.
Decrements stencil value by one, wrapping on underflow.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StencilOperationimpl Send for StencilOperationimpl Sync for StencilOperationimpl Unpin for StencilOperationimpl UnwindSafe for StencilOperationBlanket Implementations
Mutably borrows from an owned value. Read more