---
title: "OES_vertex_array_object | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface 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](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object)

interface OES\_vertex\_array\_object {  
    [VERTEX\_ARRAY\_BINDING\_OES](#vertex_array_binding_oes): 34229;  
    [bindVertexArrayOES](#bindvertexarrayoes-1)(arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null): void;  
    [createVertexArrayOES](#createvertexarrayoes-1)(): [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/);  
    [deleteVertexArrayOES](#deletevertexarrayoes-1)(arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null): void;  
    [isVertexArrayOES](#isvertexarrayoes-1)(arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null): boolean;  
}

##### Index

### Properties[](#properties)

[VERTEX\_ARRAY\_BINDING\_OES](#vertex_array_binding_oes)

### Methods[](#methods)

[bindVertexArrayOES](#bindvertexarrayoes) [createVertexArrayOES](#createvertexarrayoes) [deleteVertexArrayOES](#deletevertexarrayoes) [isVertexArrayOES](#isvertexarrayoes)

## Properties[](#properties-1)

### `Readonly`VERTEX\_ARRAY\_BINDING\_OES[](#vertex_array_binding_oes)

VERTEX\_ARRAY\_BINDING\_OES: 34229

## Methods[](#methods-1)

### bindVertexArrayOES[](#bindvertexarrayoes)

-   bindVertexArrayOES(arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null): void[](#bindvertexarrayoes-1)
    
    The **`OES_vertex_array_object.bindVertexArrayOES()`** method of the WebGL API binds a passed WebGLVertexArrayObject object to the buffer.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES)
    
    #### Parameters
    
    -   arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null
    
    #### Returns void
    

### createVertexArrayOES[](#createvertexarrayoes)

-   createVertexArrayOES(): [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/)[](#createvertexarrayoes-1)
    
    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](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
    
    #### Returns [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/)
    

### deleteVertexArrayOES[](#deletevertexarrayoes)

-   deleteVertexArrayOES(arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null): void[](#deletevertexarrayoes-1)
    
    The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
    
    #### Parameters
    
    -   arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null
    
    #### Returns void
    

### isVertexArrayOES[](#isvertexarrayoes)

-   isVertexArrayOES(arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null): boolean[](#isvertexarrayoes-1)
    
    The **`OES_vertex_array_object.isVertexArrayOES()`** method of the WebGL API returns true if the passed object is a WebGLVertexArrayObject object.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/isVertexArrayOES)
    
    #### Parameters
    
    -   arrayObject: [WebGLVertexArrayObjectOES](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLVertexArrayObjectOES/) | null
    
    #### Returns boolean
