copyBufferSubData method

void copyBufferSubData(
  1. GLenum readTarget,
  2. GLenum writeTarget,
  3. GLintptr readOffset,
  4. GLintptr writeOffset,
  5. GLsizeiptr size,
)

The WebGL2RenderingContext.copyBufferSubData() method of the WebGL 2 API copies part of the data of a buffer to another buffer.

Implementation

external void copyBufferSubData(
  GLenum readTarget,
  GLenum writeTarget,
  GLintptr readOffset,
  GLintptr writeOffset,
  GLsizeiptr size,
);