Create a VAO.
The shader program associated with the VAO.
Optional
attributes: AttributeMapThe attributes to attach to the VAO.
Optional
ebo: EboThe element buffer object to attach to the VAO.
UnsupportedOperationError if a VAO cannot be created.
BadValueError if an attribute is passed undefined
as a value or if an unknown attribute is specified.
Rasterize the vertex data contained within this VAO.
Optional
uniforms: UniformMapA collection of uniform values to set prior to rasterization.
The type of primitive to rasterize.
The number of elements to skip when rasterizing arrays, or the number of indices to skip when rasterizing elements.
The framebuffer to rasterize to, or null
for the default framebuffer (canvas).
BadValueError if a uniform is passed undefined
as a value or if an unknown uniform is specified.
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