Baseline Widely available
Note: This feature is available in Web Workers.
The WebGL2RenderingContext.bindVertexArray()
method of the WebGL 2 API binds a passed WebGLVertexArrayObject
object to the buffer.
bindVertexArray(vertexArray)
Parameters Return value
None (undefined
).
const vao = gl.createVertexArray();
gl.bindVertexArray(vao);
// â¦
// calls to bindBuffer or vertexAttribPointer
// which will be "recorded" in the VAO
// â¦
Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4