A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/WebGLVertexArrayObject below:

WebGLVertexArrayObject - Web APIs | MDN

WebGLVertexArrayObject

Baseline Widely available

Note: This feature is available in Web Workers.

The WebGLVertexArrayObject interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.

WebGLObject WebGLVertexArrayObject

When working with WebGLVertexArrayObject objects, the following methods are useful:

Note: The OES_vertex_array_object extension allows you to use vertex array objects in a WebGL 1 context.

Examples
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.3