pub struct StencilFaceState {
pub compare: CompareFunction,
pub fail_op: StencilOperation,
pub depth_fail_op: StencilOperation,
pub pass_op: StencilOperation,
}Fields§
§compare: CompareFunctionComparison function that determines if the fail_op or pass_op is used on the stencil buffer.
fail_op: StencilOperationOperation that is performed when stencil test fails.
depth_fail_op: StencilOperationOperation that is performed when depth test fails but stencil test succeeds.
pass_op: StencilOperationOperation that is performed when stencil test success.
Trait Implementations§
Source§impl Debug for StencilFaceState
impl Debug for StencilFaceState
Source§impl<'de> Deserialize<'de> for StencilFaceState
impl<'de> Deserialize<'de> for StencilFaceState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StencilFaceState
impl RefUnwindSafe for StencilFaceState
impl Send for StencilFaceState
impl Sync for StencilFaceState
impl Unpin for StencilFaceState
impl UnsafeUnpin for StencilFaceState
impl UnwindSafe for StencilFaceState
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