web api instance method
WebGL2RenderingContext: deleteVertexArray() method
Available in workers
The WebGL2RenderingContext.deleteVertexArray() method of
the WebGL 2 API deletes a given
WebGLVertexArrayObject object.
Syntax
deleteVertexArray(vertexArray)
Parameters
vertexArray- : A
WebGLVertexArrayObject(VAO) object to delete.
- : A
Return value
None (undefined).
Examples
const vao = gl.createVertexArray();
gl.bindVertexArray(vao);
// …
gl.deleteVertexArray(vao);
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.