[−][src]Struct miniquad::graphics::StencilFaceState
Fields
fail_op: StencilOp
Operation to use when stencil test fails
depth_fail_op: StencilOp
Operation to use when stencil test passes, but depth test fails
pass_op: StencilOp
Operation to use when both stencil and depth test pass, or when stencil pass and no depth or depth disabled
test_func: CompareFunc
Used for stencil testing with test_ref and test_mask: if (test_ref & test_mask) test_func (stencil && test_mask) Default is Always, which means "always pass"
test_ref: i32
Default value: 0
test_mask: u32
Default value: all 1s
write_mask: u32
Specifies a bit mask to enable or disable writing of individual bits in the stencil planes Default value: all 1s
Trait Implementations
impl Clone for StencilFaceState
[src]
fn clone(&self) -> StencilFaceState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StencilFaceState
[src]
impl Debug for StencilFaceState
[src]
impl PartialEq<StencilFaceState> for StencilFaceState
[src]
fn eq(&self, other: &StencilFaceState) -> bool
[src]
fn ne(&self, other: &StencilFaceState) -> bool
[src]
impl StructuralPartialEq for StencilFaceState
[src]
Auto Trait Implementations
impl RefUnwindSafe for StencilFaceState
impl Send for StencilFaceState
impl Sync for StencilFaceState
impl Unpin for StencilFaceState
impl UnwindSafe for StencilFaceState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,