How to use the stencilMaskSeparate function from bindings

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

762
763
764
765
766
767
768
769
770
771
772
    throw new TypeError('Expected stencilMask(number mask)');
  }
  return _stencilMask(mask);
}


var _stencilMaskSeparate = gl.stencilMaskSeparate;
gl.stencilMaskSeparate = function stencilMaskSeparate(face, mask) {
  if (!(arguments.length === 2 && typeof face === "number" && typeof mask === "number")) {
    throw new TypeError('Expected stencilMaskSeparate(number face, number mask)');
  }
fork icon264
star icon386
watch icon0

+ 81 other calls in file

Other functions in bindings

Sorted by popularity

function icon

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