How to use the deleteProgram function from bindings

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

282
283
284
285
286
287
288
289
290
291
292
    throw new TypeError('Expected deleteFramebuffer(WebGLFramebuffer framebuffer)');
  }
  return _deleteFramebuffer(framebuffer ? framebuffer._ : 0);
}


var _deleteProgram = gl.deleteProgram;
gl.deleteProgram = function deleteProgram(program) {
  if (!(arguments.length === 1 && (program === null || program instanceof gl.WebGLProgram))) {
    throw new TypeError('Expected deleteProgram(WebGLProgram program)');
  }
fork icon264
star icon386
watch icon0

+ 81 other calls in file

543
544
545
546
547
548
549
550
551
552
GL.deleteProgram = function() {
    if (GL.debug) {
        console.log("deleteProgram");
        console.log(arguments);
    }
    return gl_bindings.deleteProgram.apply(null, arguments);
};
GL.deleteRenderbuffer = function() {
    if (GL.debug) {
        console.log("deleteRenderbuffer");
fork icon0
star icon0
watch icon0

+ 70 other calls in file

Other functions in bindings

Sorted by popularity

function icon

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