OESVertexArrayObject

js.html.webgl.extension.OESVertexArrayObject (extern class)

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:

Static Members

VERTEX_ARRAY_BINDING_OES: Int

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

Instance Members

createVertexArrayOES(): js.html.webgl.VertexArrayObject

Creates a new WebGLVertexArrayObject.

Returns
js.html.webgl.VertexArrayObject

deleteVertexArrayOES(arrayObject: js.html.webgl.VertexArrayObject): Void

Deletes a given WebGLVertexArrayObject.

Name Type
arrayObject js.html.webgl.VertexArrayObject

isVertexArrayOES(arrayObject: js.html.webgl.VertexArrayObject): Bool

Returns true if a given object is a WebGLVertexArrayObject.

Name Type
arrayObject js.html.webgl.VertexArrayObject
Returns
Bool

bindVertexArrayOES(arrayObject: js.html.webgl.VertexArrayObject): Void

Binds a given WebGLVertexArrayObject to the buffer.

Name Type
arrayObject js.html.webgl.VertexArrayObject