createVertexArray method

WebGLVertexArrayObject? createVertexArray()

The WebGL2RenderingContext.createVertexArray() method of the WebGL 2 API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.

Implementation

external WebGLVertexArrayObject? createVertexArray();