dispatchWorkgroupsIndirect method

void dispatchWorkgroupsIndirect(
  1. GPUBuffer indirectBuffer,
  2. GPUSize64 indirectOffset
)

The dispatchWorkgroupsIndirect() method of the GPUComputePassEncoder interface dispatches a grid of workgroups, defined by the parameters of a GPUBuffer, to perform the work being done by the current GPUComputePipeline (i.e. set via GPUComputePassEncoder.setPipeline).

Implementation

external void dispatchWorkgroupsIndirect(
  GPUBuffer indirectBuffer,
  GPUSize64 indirectOffset,
);