How to use the stencilOp function from bindings
Find comprehensive JavaScript bindings.stencilOp code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
770 771 772 773 774 775 776 777 778 779 780
throw new TypeError('Expected stencilMaskSeparate(number face, number mask)'); } return _stencilMaskSeparate(face, mask); } var _stencilOp = gl.stencilOp; gl.stencilOp = function stencilOp(fail, zfail, zpass) { if (!(arguments.length === 3 && typeof fail === "number" && typeof zfail === "number" && typeof zpass === "number")) { throw new TypeError('Expected stencilOp(number fail, number zfail, number zpass)'); }
264
386
0
+ 81 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)