dispatchWorkgroups method

void dispatchWorkgroups(
  1. GPUSize32 workgroupCountX, [
  2. GPUSize32 workgroupCountY,
  3. GPUSize32 workgroupCountZ
])

The dispatchWorkgroups() method of the GPUComputePassEncoder interface dispatches a specific grid of workgroups to perform the work being done by the current GPUComputePipeline (i.e. set via GPUComputePassEncoder.setPipeline).

Implementation

external void dispatchWorkgroups(
  GPUSize32 workgroupCountX, [
  GPUSize32 workgroupCountY,
  GPUSize32 workgroupCountZ,
]);