Enum uni_gl::BlendEquation
source · [−]pub enum BlendEquation {
FuncAdd,
FuncSubstract,
FuncReverseSubtract,
}
Expand description
Constants passed to WebGLRenderingContext.blendEquation() or WebGLRenderingContext.blendEquationSeparate() to control how the blending is calculated (for both, RBG and alpha, or separately).
Variants
FuncAdd
Passed to blendEquation or blendEquationSeparate to set an addition blend function.
FuncSubstract
Passed to blendEquation or blendEquationSeparate to specify a subtraction blend function (source - destination).
FuncReverseSubtract
Passed to blendEquation or blendEquationSeparate to specify a reverse subtraction blend function (destination - source).
Trait Implementations
sourceimpl Clone for BlendEquation
impl Clone for BlendEquation
sourcefn clone(&self) -> BlendEquation
fn clone(&self) -> BlendEquation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BlendEquation
impl Debug for BlendEquation
impl Copy for BlendEquation
Auto Trait Implementations
impl RefUnwindSafe for BlendEquation
impl Send for BlendEquation
impl Sync for BlendEquation
impl Unpin for BlendEquation
impl UnwindSafe for BlendEquation
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