Creates a vertex array object.
The program that the VAO is used with.
The attributes associated with the VAO.
Optional
indices: UintTypedArrayThe indices to supply to the element array buffer of this VAO if the data should be indexed.
Private
attributesThe attributes associated with this VAO.
Private
elementThe element array buffer of this VAO if its data is indexed.
Readonly
glThe rendering context of this VAO.
Readonly
programThe program that this VAO is used with.
Readonly
vaoThe WebGL API interface of this VAO.
The attributes associated with this VAO.
The indices in the element array buffer of this VAO if the data is indexed.
Adds an attribute to this VAO.
The attribute to add.
Rasterizes the vertex data stored in this VAO.
Optional
uniforms: UniformSourceA map of uniform variable names to their values to use when rasterizing.
The type of primitive to rasterize.
The number of elements to skip when rasterizing arrays.
Generated using TypeDoc
A collection of attribute state; a vertex attribute array.