Expand description
The complete set of the rasterizer reference values. Switching these doesn’t roll the hardware context.
Fields
stencil: (u8, u8)
Stencil front and back values.
blend: [f32; 4]
Constant blend color.
Trait Implementations
impl PartialOrd<RefValues> for RefValues
impl PartialOrd<RefValues> for RefValues
fn partial_cmp(&self, other: &RefValues) -> Option<Ordering>
fn partial_cmp(&self, other: &RefValues) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RefValues
impl StructuralPartialEq for RefValues
Auto Trait Implementations
impl RefUnwindSafe for RefValues
impl Send for RefValues
impl Sync for RefValues
impl Unpin for RefValues
impl UnwindSafe for RefValues
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.