W3cubDocs

/Haxe JavaScript

ExtensionVertexArrayObject

package js.html.webgl

@:native("OES_vertex_array_object") 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:

Methods

bindVertexArrayOES (arrayObject:VertexArrayObjectOES):Void

Binds a given WebGLVertexArrayObjectOES to the buffer.

createVertexArrayOES ():VertexArrayObjectOES

Creates a new WebGLVertexArrayObjectOES.

deleteVertexArrayOES (arrayObject:VertexArrayObjectOES):Void

Deletes a given WebGLVertexArrayObjectOES.

isVertexArrayOES (arrayObject:VertexArrayObjectOES):Bool

Returns true if a given object is a WebGLVertexArrayObjectOES.

Static variables

@:value(34229) static inline read only VERTEX_ARRAY_BINDING_OES:Int = 34229

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