bindTexture method
Binds a texture. Pass in nothing or null to reset the texture to either nothing or the platform default.
Implementation
@override
void bindTexture([Texture? texture]) => _context.bindTexture(
web_gl.WebGL.TEXTURE_2D,
texture is _WGLTexture ? texture._textureHandle : null);