Firefox Tomorrow

web api instance method

WebGL2RenderingContext: deleteVertexArray() method

View on MDN ↗

Available in workers

The WebGL2RenderingContext.deleteVertexArray() method of the WebGL 2 API deletes a given WebGLVertexArrayObject object.

Syntax

deleteVertexArray(vertexArray)

Parameters

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.

See also