X dimension of the grid of workgroups to dispatch.
Optional
workgroupCountY: numberY dimension of the grid of workgroups to dispatch.
Optional
workgroupCountZ: numberZ dimension of the grid of workgroups to dispatch.
Dispatch work to be performed with the current GPUComputePipeline using parameters read from a GPUBuffer. See https://www.w3.org/TR/webgpu/#computing-operations for the detailed specification. packed block of three 32-bit unsigned integer values (12 bytes total), given in the same order as the arguments for dispatchWorkgroups. For example:
Buffer containing the indirect dispatch parameters.
Offset in bytes into indirectBuffer
where the dispatch data begins.
Ends the labeled debug group most recently started by pushDebugGroup.
Sets the current GPUBindGroup for the given index.
The index to set the bind group at.
Bind group to use for subsequent render or compute commands. <!--The overload appears to be confusing bikeshed, and it ends up expecting this to define the arguments for the 5-arg variant of the method, despite the "for" explicitly pointing at the 3-arg variant. See
Optional
dynamicOffsets: Iterable<number>Array containing buffer offsets in bytes for each entry in
bindGroup
marked as buffer.hasDynamicOffset.-->
Sets the current GPUBindGroup for the given index, specifying dynamic offsets as a subset of a Uint32Array.
The index to set the bind group at.
Bind group to use for subsequent render or compute commands.
Array containing buffer offsets in bytes for each entry in
bindGroup
marked as buffer.hasDynamicOffset.
Offset in elements into dynamicOffsetsData
where the
buffer offset data begins.
Number of buffer offsets to read from dynamicOffsetsData
.
Sets the current GPUComputePipeline.
The compute pipeline to use for subsequent dispatch commands.
Generated using TypeDoc
Dispatch work to be performed with the current GPUComputePipeline. See https://www.w3.org/TR/webgpu/#computing-operations for the detailed specification.