Abstract
Whether or not this buffer contains 16-bit floating-point data if it contains floating-point data.
The size of this buffer's data store in bytes.
The intended usage of this buffer.
Replace the data in this buffer.
The data to store in this buffer or the size to set this buffer's data store to in bytes.
Optional
usage: BufferUsageThe intended usage of the buffer.
Optional
offset: numberThe index of the element to start reading the supplied data at.
Optional
length: numberThe length of the supplied data to read.
Optional
isHalf: booleanWhether or not the data contains 16-bit floating-point data if it contains floating-point data.
Set the size of this buffer, clearing its data.
The data to store in this buffer or the size to set this buffer's data store to in bytes.
Optional
usage: BufferUsageThe intended usage of the buffer.
Optional
_: unknownAn unused value.
Optional
__: unknownAn unused value.
Optional
isHalf: booleanWhether or not the data contains 16-bit floating-point data if it contains floating-point data.
Update a subset of the data in this buffer.
The data to store in this buffer.
Optional
_: unknownAn ignored value.
Optional
offset: numberThe index of the element to start reading the supplied data at.
Optional
length: numberThe length of the supplied data to read.
Optional
__: unknownAn ignored value.
Optional
replaceOffset: numberThe offset in bytes to start replacing data at.
An array of binary data.
See
WebGLBuffer