WebGL
Khronos
 

WebGL EXT_blend_minmax Khronos Ratified Extension Specification

Name

EXT_blend_minmax

Contact

WebGL working group (public_webgl 'at' khronos.org)

Contributors

Florian Boesch (pyalot 'at' gmail.com)

Members of the WebGL working group

Version

Last modified date: May 29, 2015
Revision: 6

Number

WebGL extension #25

Dependencies

Written against the WebGL API 1.0 specification.

Promoted to core and no longer available as an extension in WebGL API 2.0 specification.

Overview

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:

IDL

[Exposed=(Window,Worker), LegacyNoInterfaceObject]
interface EXT_blend_minmax {
  const GLenum MIN_EXT = 0x8007;
  const GLenum MAX_EXT = 0x8008;
};
  

Sample Code

        var ext = gl.getExtension('EXT_blend_minmax');
        gl.blendEquation(ext.MAX_EXT);
        gl.getParameter(gl.BLEND_EQUATION) == ext.MAX_EXT;
    

Revision History

Revision 1, 2012/12/12

Revision 2, 2014/02/12

Revision 3, 2014/05/12

Revision 4, 2014/06/27

Revision 5, 2014/07/15

Revision 6, 2015/05/29