[−][src]Struct grr::StencilFace
Stencil operation settings, per-face.
Fields
fail: StencilOp
Action taken on the buffer when the stencil test fails on the new fragment.
pass: StencilOp
Action taken on the buffer when the stencil and depth tests succeed.
depth_fail: StencilOp
Action taken on the buffer when the stencil test succeeds but the depth test fails.
compare_op: Compare
Comparison operation used in testing the reference and buffer stencil values.
compare_mask: u32
Bitwise mask applied to both stencil reference and buffer values before being compared.
reference: u32
Reference value used in certain stencil comparison ops.
Implementations
impl StencilFace
[src]
pub const KEEP: StencilFace
[src]
Trait Implementations
impl Clone for StencilFace
[src]
fn clone(&self) -> StencilFace
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StencilFace
[src]
impl Debug for StencilFace
[src]
impl Default for StencilFace
[src]
fn default() -> StencilFace
[src]
impl Eq for StencilFace
[src]
impl PartialEq<StencilFace> for StencilFace
[src]
fn eq(&self, other: &StencilFace) -> bool
[src]
fn ne(&self, other: &StencilFace) -> bool
[src]
impl StructuralEq for StencilFace
[src]
impl StructuralPartialEq for StencilFace
[src]
Auto Trait Implementations
impl RefUnwindSafe for StencilFace
impl Send for StencilFace
impl Sync for StencilFace
impl Unpin for StencilFace
impl UnwindSafe for StencilFace
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>,