AbstractAbstractdataThe size of this buffer's data store in bytes.
The type of the data in this buffer.
The intended usage of this buffer.
AbstractsetSet the size of this buffer, clearing its data.
The size to set this buffer's data store to in bytes.
Optionalusage: BufferUsageThe intended use case of the buffer.
Replace all of or update a subset of the data in this buffer.
The data to store in this buffer.
Optionalusage: BufferUsageThe intended use case of the buffer.
OptionalsrcOffset: numberThe index of the element to start reading the supplied data at.
Optionallength: numberThe length of the supplied data to read.
OptionaldstOffset: numberThe offset in bytes to start replacing data at. If this value is set, a subset of the data in the buffer is updated rather than replacing all of the data in the buffer and the usage pattern of the buffer is not updated.
An array of binary data.
See
WebGLBuffer