writeBuffer method

void writeBuffer(
  1. GPUBuffer buffer,
  2. int bufferOffset,
  3. dynamic data, [
  4. int? dataOffset = 0,
  5. int? size,
])

Implementation

void writeBuffer(GPUBuffer buffer, int bufferOffset, dynamic data,
        [int? dataOffset = 0, int? size]) =>
    js_util.callMethod(
        this, 'writeBuffer', [buffer, bufferOffset, data, dataOffset, size]);