W3cubDocs

/Haxe JavaScript

OESVertexArrayObject

package js.html.webgl.extension

Available on js

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.

Documentation OES_vertex_array_object by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

staticinlineread onlyVERTEX_ARRAY_BINDING_OES:Int = 34229

Returns a WebGLVertexArrayObject object when used in the WebGLRenderingContext.getParameter() method as the pname parameter.

Methods

bindVertexArrayOES(arrayObject:VertexArrayObject):Void

Binds a given WebGLVertexArrayObject to the buffer.

createVertexArrayOES():VertexArrayObject

Creates a new WebGLVertexArrayObject.

deleteVertexArrayOES(arrayObject:VertexArrayObject):Void

Deletes a given WebGLVertexArrayObject.

isVertexArrayOES(arrayObject:VertexArrayObject):Bool

Returns true if a given object is a WebGLVertexArrayObject.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/extension/OESVertexArrayObject.html