How to use the stencilFunc function from bindings
Find comprehensive JavaScript bindings.stencilFunc code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
738 739 740 741 742 743 744 745 746 747 748
throw new TypeError('Expected shaderSource(WebGLShader shader, string source)'); } return _shaderSource(shader ? shader._ : 0, source); } var _stencilFunc = gl.stencilFunc; gl.stencilFunc = function stencilFunc(func, ref, mask) { if (!(arguments.length === 3 && typeof func === "number" && typeof ref === "number" && typeof mask === "number")) { throw new TypeError('Expected stencilFunc(number func, number ref, number mask)'); }
264
386
0
+ 81 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)