mgpuSetBufferRange function

int mgpuSetBufferRange(
  1. MGPUComputeShader shader,
  2. int slot,
  3. MGPUBuffer buffer,
  4. int kind,
  5. int offsetBytes,
  6. int sizeBytes,
)

Implementation

int mgpuSetBufferRange(
  MGPUComputeShader shader,
  int slot,
  MGPUBuffer buffer,
  int kind,
  int offsetBytes,
  int sizeBytes,
) => _mgpuSetBufferRange(
  shader,
  slot.toJS,
  buffer,
  kind.toJS,
  offsetBytes.toJS,
  sizeBytes.toJS,
).toDartInt;