WebGLVertexArrayObject class

The interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.

WebGLObject

WebGLVertexArrayObject

When working with objects, the following methods are useful:

WebGL2RenderingContext.createVertexArray() WebGL2RenderingContext.deleteVertexArray() WebGL2RenderingContext.isVertexArray() WebGL2RenderingContext.bindVertexArray() Note: The OES_vertex_array_object extension allows you to use vertex array objects in a WebGL 1 context.

Implemented types
Annotations
  • @JS()
  • @staticInterop

Constructors

WebGLVertexArrayObject()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited