Binds a texture at a texture unit. If a texture is already bound to that unit it will force a flush on the current pipeline.
name | type | description |
---|---|---|
texture | WebGLTexture |
The WebGL texture that needs to be bound. |
The texture unit that was assigned to the Texture Source.