mgpuReadAsyncInt8 function
Future<void>
mgpuReadAsyncInt8(
- MGPUBuffer buffer,
- TypedData outputData, {
- int readElements = 0,
- int elementOffset = 0,
Asynchronous reads, one per element type: readElements (0: the whole
list) elements from GPU element elementOffset land at the front of
outputData, whatever its list type. See _readAsync.
Implementation
Future<void> mgpuReadAsyncInt8(
MGPUBuffer buffer,
TypedData outputData, {
int readElements = 0,
int elementOffset = 0,
}) => _readAsync(_elemI8, buffer, outputData, 1, readElements,
elementOffset);