Interface OES_vertex_array_object
interface OES_vertex_array_object {
VERTEX_ARRAY_BINDING_OES: 34229;
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
createVertexArrayOES(): WebGLVertexArrayObjectOES;
deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): boolean;
}
VERTEX_ARRAY_BINDING_OES: 34229;
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
createVertexArrayOES(): WebGLVertexArrayObjectOES;
deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): boolean;
}
Index
Methods
bindVertexArrayOES
The
OES_vertex_array_object.bindVertexArrayOES()method of the WebGL API binds a passed WebGLVertexArrayObject object to the buffer.Parameters
- arrayObject: WebGLVertexArrayObjectOES | null
Returns void
createVertexArrayOES
The
OES_vertex_array_object.createVertexArrayOES()method of the WebGL API creates and initializes a pointing to vertex array data and which provides names for different sets of vertex data.Returns WebGLVertexArrayObjectOES
deleteVertexArrayOES
The
OES_vertex_array_object.deleteVertexArrayOES()method of the WebGL API deletes a givenjs-nolint deleteVertexArrayOES(arrayObject)-arrayObject- : A WebGLVertexArrayObject (VAO) object to delete.Parameters
- arrayObject: WebGLVertexArrayObjectOES | null
Returns void
isVertexArrayOES
The
OES_vertex_array_object.isVertexArrayOES()method of the WebGL API returnstrueif the passed object is a WebGLVertexArrayObject object.Parameters
- arrayObject: WebGLVertexArrayObjectOES | null
Returns boolean
The OES_vertex_array_object extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states.
MDN Reference