bindBufferRange method

void bindBufferRange(
  1. GLenum target,
  2. GLuint index,
  3. WebGLBuffer? buffer,
  4. GLintptr offset,
  5. GLsizeiptr size,
)

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

Implementation

external void bindBufferRange(
  GLenum target,
  GLuint index,
  WebGLBuffer? buffer,
  GLintptr offset,
  GLsizeiptr size,
);