unbindTexture method
void
unbindTexture([
- WebGLTexture? texture
Implementation
void unbindTexture([WebGLTexture? texture]) {
final boundTexture = currentBoundTextures[currentTextureSlot];
if (boundTexture != null && boundTexture.type != null) {
gl.bindTexture(boundTexture.type!, texture);
boundTexture.type = null;
boundTexture.texture = null;
}
}