createBuffer method

WebGLBuffer? createBuffer()

The WebGLRenderingContext.createBuffer() method of the WebGL API creates and initializes a WebGLBuffer storing data such as vertices or colors.

Implementation

external WebGLBuffer? createBuffer();