DO NOT IMPLEMENT!!!
EXT_blend_minmax
WebGL working group (public_webgl 'at' khronos.org)
Florian Boesch (pyalot 'at' gmail.com)
Members of the WebGL working group
Last modified date: December 12, 2012
Revision: 1
WebGL extension #NN
Written against the WebGL API 1.0 specification.
This extension exposes the EXT_blend_minmax functionality to WebGL.
There are no WebGL-specific behavioral changes.
Consult the above extension for documentation, issues and new functions and enumerants.
When this extension is enabled:
interface EXT_blend_minmax {
const GLenum FUNC_ADD_EXT = 0x8006;
const GLenum MIN_EXT = 0x8007;
const GLenum MAX_EXT = 0x8008;
const GLenum BLEND_EQUATION_EXT = 0x8009;
void blendEquationEXT(GLenum mode);
};
FUNC_ADD_EXT, MIN_EXT and MAX_EXT
BLEND_EQUATION_EXT is accepted by pname parameter in getParameter()
FUNC_ADD_EXT (default), MIN_EXT or MAX_EXT
var ext = gl.getExtension('EXT_blend_minmax');
ext.blendEquationEXT(ext.MAX_EXT);
gl.getParameter(ext.BLEND_EQUATION_EXT) == ext.MAX_EXT;
Revision 1, 2012/12/12