bindBuffer method

void bindBuffer(
  1. GLenum target,
  2. WebGLBuffer? buffer
)

The WebGLRenderingContext.bindBuffer() method of the WebGL API binds a given WebGLBuffer to a target.

Implementation

external void bindBuffer(GLenum target, WebGLBuffer? buffer);