bindTexture method

void bindTexture(
  1. GLenum target,
  2. WebGLTexture? texture
)

The WebGLRenderingContext.bindTexture() method of the WebGL API binds a given WebGLTexture to a target (binding point).

Implementation

external void bindTexture(
  GLenum target,
  WebGLTexture? texture,
);