bindBufferBase method

void bindBufferBase(
  1. GLenum target,
  2. GLuint index,
  3. WebGLBuffer? buffer
)

The WebGL2RenderingContext.bindBufferBase() method of the WebGL 2 API binds a given WebGLBuffer to a given binding point (target) at a given index.

Implementation

external void bindBufferBase(
  GLenum target,
  GLuint index,
  WebGLBuffer? buffer,
);