Creates an element array buffer.
The rendering context of the buffer.
The data to store in the buffer.
Optional
target: ELEMENT_ARRAY_BUFFERThe binding point to bind the buffer to.
Optional
usage: BufferUsageThe usage pattern of the buffer's data store.
Creates a buffer.
The rendering context of the buffer.
The data to store in the buffer.
Optional
target: BufferTargetThe binding point to bind the buffer to.
Optional
usage: BufferUsageThe usage pattern of the buffer's data store.
Readonly
bufferThe WebGL API interface of this buffer.
Private
dataThe data contained within this buffer.
Readonly
glThe rendering context of this buffer.
The binding point to bind this buffer to.
Private
typeThe type of each component in this buffer.
The usage pattern of this buffer's data store.
The data contained within this buffer.
The type of each component in this buffer.
Generated using TypeDoc
A data stucture that supplies per-vertex data to the GPU.