(
gl: WebGLRenderingContext, textureUnit: number)
| 251 | } |
| 252 | |
| 253 | export function unbindTextureUnit( |
| 254 | gl: WebGLRenderingContext, textureUnit: number) { |
| 255 | validateTextureUnit(gl, textureUnit); |
| 256 | callAndCheck(gl, () => gl.activeTexture(gl.TEXTURE0 + textureUnit)); |
| 257 | callAndCheck(gl, () => gl.bindTexture(gl.TEXTURE_2D, null)); |
| 258 | } |
| 259 | |
| 260 | export function getProgramUniformLocationOrThrow( |
| 261 | gl: WebGLRenderingContext, program: WebGLProgram, |
nothing calls this directly
no test coverage detected
searching dependent graphs…