WebGLVertexArrayObject - Web APIs | MDN

Examples

js

const vao = gl.createVertexArray();
gl.bindVertexArray(vao);

// …

// calls to bindBuffer or vertexAttribPointer
// which will be "recorded" in the VAO

// …

Specifications

Specification
WebGL 2.0 Specification
# 3.6

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.