Struct vulkano::pipeline::graphics::depth_stencil::StencilState
source · pub struct StencilState {
pub front: StencilOpState,
pub back: StencilOpState,
}
Expand description
The state in a graphics pipeline describing how the stencil test should behave when enabled.
Fields§
§front: StencilOpState
The stencil operation state to use for points and lines, and for triangles whose front is facing the user.
The default value is StencilOpState::default()
.
back: StencilOpState
The stencil operation state to use for triangles whose back is facing the user.
The default value is StencilOpState::default()
.
Trait Implementations§
source§impl Clone for StencilState
impl Clone for StencilState
source§fn clone(&self) -> StencilState
fn clone(&self) -> StencilState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StencilState
impl Debug for StencilState
Auto Trait Implementations§
impl RefUnwindSafe for StencilState
impl Send for StencilState
impl Sync for StencilState
impl Unpin for StencilState
impl UnwindSafe for StencilState
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