Struct vulkano::pipeline::graphics::depth_stencil::StencilOps [−][src]
pub struct StencilOps {
pub fail_op: StencilOp,
pub pass_op: StencilOp,
pub depth_fail_op: StencilOp,
pub compare_op: CompareOp,
}
Fields
fail_op: StencilOp
The operation to perform when the stencil test failed.
pass_op: StencilOp
The operation to perform when both the depth test and the stencil test passed.
depth_fail_op: StencilOp
The operation to perform when the stencil test passed but the depth test failed.
compare_op: CompareOp
The comparison to perform between the existing stencil value in the stencil buffer, and
the reference value (given by reference
).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StencilOps
impl Send for StencilOps
impl Sync for StencilOps
impl Unpin for StencilOps
impl UnwindSafe for StencilOps
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.