Skip to main content

OES_vertex_array_object

The OES_vertex_array_object extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states. These objects keep pointers to vertex data and provide names for different sets of vertex data.

MDN Reference

Methods

bindVertexArrayOES()

bindVertexArrayOES(arrayObject): void;

The OES_vertex_array_object.bindVertexArrayOES() method of the WebGL API binds a passed WebGLVertexArrayObject object to the buffer.

MDN Reference

Parameters

ParameterType
arrayObjectWebGLVertexArrayObjectOES | null

Returns

void


createVertexArrayOES()

createVertexArrayOES(): WebGLVertexArrayObjectOES;

The OES_vertex_array_object.createVertexArrayOES() method of the WebGL API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.

MDN Reference

Returns

WebGLVertexArrayObjectOES


deleteVertexArrayOES()

deleteVertexArrayOES(arrayObject): void;

The OES_vertex_array_object.deleteVertexArrayOES() method of the WebGL API deletes a given WebGLVertexArrayObject object.

MDN Reference

Parameters

ParameterType
arrayObjectWebGLVertexArrayObjectOES | null

Returns

void


isVertexArrayOES()

isVertexArrayOES(arrayObject): boolean;

The OES_vertex_array_object.isVertexArrayOES() method of the WebGL API returns true if the passed object is a WebGLVertexArrayObject object.

MDN Reference

Parameters

ParameterType
arrayObjectWebGLVertexArrayObjectOES | null

Returns

boolean

Properties

VERTEX_ARRAY_BINDING_OES

readonly VERTEX_ARRAY_BINDING_OES: 34229;