Struct vulkano::pipeline::graphics::depth_stencil::StencilOps
source · [−]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
sourceimpl Clone for StencilOps
impl Clone for StencilOps
sourcefn clone(&self) -> StencilOps
fn clone(&self) -> StencilOps
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StencilOps
impl Debug for StencilOps
sourceimpl Default for StencilOps
impl Default for StencilOps
impl Copy for StencilOps
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more