How to use the validateProgram function from bindings
Find comprehensive JavaScript bindings.validateProgram code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019
throw new TypeError('Expected useProgram(WebGLProgram program)'); } return _useProgram(program ? program._ : 0); } var _validateProgram = gl.validateProgram; gl.validateProgram = function validateProgram(program) { if (!(arguments.length === 1 && (program === null || program instanceof gl.WebGLProgram))) { throw new TypeError('Expected validateProgram(WebGLProgram program)'); }
264
386
0
+ 81 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)