Create a VAO.
The shader program associated with the VAO.
Optionalattributes: AttributeMapThe attributes to attach to the VAO.
Optionalebo: ElementBufferThe element buffer object to attach to the VAO.
BadValueError if an attribute is passed undefined as a value or if an unknown attribute is specified.
ReadonlycontextThe rendering context.
ReadonlyprogramThe shader program associated with this VAO.
The element buffer object that is attached to this VAO.
Set the value of an attribute in this VAO.
The name of the attribute.
The value to pass to the attribute.
BadValueError if an unknown attribute is specified.
A vertex attribute array; a collection of attribute state.
See
WebGLVertexArrayObject