Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function createNDArrayTexture (gl: WebGLRenderingContext, ndarray: *) {
const texture = gl.createTexture();
gl.bindTexture(gl.TEXTURE_2D, texture);
drawNDArrayTexture(gl, texture, ndarray);
return texture;
}
class FakeTextureLoader extends TextureLoader {