Enum ugli::StencilOpFunc
source · pub enum StencilOpFunc {
Keep = 7_680,
Zero = 0,
Replace = 7_681,
Increment = 7_682,
IncrementWrap = 34_055,
Decrement = 7_683,
DecrementWrap = 34_056,
Invert = 5_386,
}
Variants§
Keep = 7_680
Keeps the current value.
Zero = 0
Sets the stencil buffer value to 0.
Replace = 7_681
Sets the stencil buffer value to the reference value as specified by StencilTest.
Increment = 7_682
Increments the current stencil buffer value. Clamps to the maximum representable unsigned value.
IncrementWrap = 34_055
Increments the current stencil buffer value. Wraps stencil buffer value to zero when incrementing the maximum representable unsigned value.
Decrement = 7_683
Decrements the current stencil buffer value. Clamps to 0.
DecrementWrap = 34_056
Decrements the current stencil buffer value. Wraps stencil buffer value to the maximum representable unsigned value when decrementing a stencil buffer value of 0.
Invert = 5_386
Inverts the current stencil buffer value bitwise.
Trait Implementations§
source§impl Clone for StencilOpFunc
impl Clone for StencilOpFunc
source§fn clone(&self) -> StencilOpFunc
fn clone(&self) -> StencilOpFunc
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 StencilOpFunc
impl Debug for StencilOpFunc
source§impl Hash for StencilOpFunc
impl Hash for StencilOpFunc
source§impl PartialEq for StencilOpFunc
impl PartialEq for StencilOpFunc
source§fn eq(&self, other: &StencilOpFunc) -> bool
fn eq(&self, other: &StencilOpFunc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StencilOpFunc
impl Eq for StencilOpFunc
impl StructuralEq for StencilOpFunc
impl StructuralPartialEq for StencilOpFunc
Auto Trait Implementations§
impl RefUnwindSafe for StencilOpFunc
impl Send for StencilOpFunc
impl Sync for StencilOpFunc
impl Unpin for StencilOpFunc
impl UnwindSafe for StencilOpFunc
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