Inheritance: EventDispatcher →
A readback buffer is used to transfer data from the GPU to the CPU. It is primarily used to read back compute shader results.
Constructs a new readback buffer.
maxByteLength
The maximum size of the buffer to be read back.
The mapped, read back array buffer.
This flag can be used for type testing.
Default is true.
The maximum size of the buffer to be read back.
Name used for debugging purposes.
Frees internal resources.
Releases the mapped buffer data so the GPU buffer can be used by the GPU again.
Note: Any ArrayBuffer data associated with this readback buffer are removed and no longer accessible after calling this method.