Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

blendEquation method

Sets the equation used to blend RGB and Alpha values of an incoming source fragment with a destination values as stored in the fragment's frame buffer.

IE11

 

Syntax

WebGLRenderingContext.blendEquation(mode);

Parameters

mode [in]

Type: Number

One of these values:

ValueMeaning
gl.FUNC_ADD
gl.FUNC_SUBTRACT
gl.FUNC_REVERSE_SUBTRACT

 

Return value

This method does not return a value.

Remarks

WebGL errorDescription
gl.INVALID_ENUMIf mode is not one of the three possible values.

 

See also

WebGLRenderingContext
blendEquationSeparate
blendFunc

 

 

Show:
© 2015 Microsoft