How to use the blendEquationSeparate function from bindings

Find comprehensive JavaScript bindings.blendEquationSeparate code examples handpicked from public code repositorys.

97
98
99
100
101
102
103
104
105
106
    throw new TypeError('Expected blendEquation(number mode)');
  }
  return _blendEquation(mode);
}

var _blendEquationSeparate = gl.blendEquationSeparate;
gl.blendEquationSeparate = function blendEquationSeparate(modeRGB, modeAlpha) {
  if (!(arguments.length === 2 && typeof modeRGB === "number" && typeof modeAlpha === "number")) {
    throw new TypeError('Expected blendEquationSeparate(number modeRGB, number modeAlpha)');
  }
fork icon265
star icon386
watch icon20

379
380
381
382
383
384
385
386
387
388
GL.blendEquationSeparate = function() {
    if (GL.debug) {
        console.log("blendEquationSeparate");
        console.log(arguments);
    }
    return gl_bindings.blendEquationSeparate.apply(null, arguments);
};
GL.blendFunc = function() {
    if (GL.debug) {
        console.log("blendFunc");
fork icon0
star icon0
watch icon0

+ 70 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)