Create a VAO.
The shader program associated with the VAO.
Optional
attributes: AttributeMapThe attributes to attach to the VAO.
Optional
ebo: 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.
Readonly
contextThe rendering context.
Readonly
programThe 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