[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/zh-CN/docs/Web/API/WebGLVertexArrayObject [Back]  [Original]

WebGLVertexArrayObject - Web API | MDN

MDN Web Docs

View in English Always switch to English

WebGLVertexArrayObject

20219

**WebGLVertexArrayObject**WebGL 2 API (VAOs)

WebGLVertexArrayObject

WebGL 1: OES_vertex_array_object WebGL 1

js
var vao = gl.createVertexArray();
gl.bindVertexArray(vao);

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

WebGL 2.0 Specification
# 4.6


Web Proxy Viewer  |  New URL  |  Original Page