bufferData method

void bufferData(
  1. GLenum target,
  2. JSAny? sizeOrSrcData,
  3. GLenum usage, [
  4. int srcOffset,
  5. GLuint length,
])

The WebGL2RenderingContext.bufferData() method of the WebGL API creates and initializes the buffer object's data store.

Implementation

external void bufferData(
  GLenum target,
  JSAny? sizeOrSrcData,
  GLenum usage, [
  int srcOffset,
  GLuint length,
]);