Enum glenum::BlendEquation
[−]
[src]
pub enum BlendEquation { FuncAdd, FuncSubstract, FuncReverseSubtract, }
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
impl Debug for BlendEquation
[src]
impl Clone for BlendEquation
[src]
fn clone(&self) -> BlendEquation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more