How to use the WebGLActiveInfo function from bindings
Find comprehensive JavaScript bindings.WebGLActiveInfo code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
447 448 449 450 451 452 453 454 455 456 457
var _getActiveAttrib = gl.getActiveAttrib; gl.getActiveAttrib = function getActiveAttrib(program, index) { if (!(arguments.length === 2 && (program === null || program instanceof gl.WebGLProgram) && typeof index === "number")) { throw new TypeError('Expected getActiveAttrib(WebGLProgram program, number index)'); } return new gl.WebGLActiveInfo(_getActiveAttrib(program ? program._ : 0, index)); } var _getActiveUniform = gl.getActiveUniform; gl.getActiveUniform = function getActiveUniform(program, index) {
264
386
0
+ 163 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)