Skip to main content
GPUComputePassEncoder - GPU - Web documentation
class GPUComputePassEncoder
Unstable

Properties

label: string

Methods

dispatchWorkgroups(
x: number,
y?: number,
z?: number,
): undefined
dispatchWorkgroupsIndirect(
indirectBuffer: GPUBuffer,
indirectOffset: number,
): undefined
end(): undefined
insertDebugMarker(markerLabel: string): undefined
popDebugGroup(): undefined
pushDebugGroup(groupLabel: string): undefined
setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsets?: number[],
): undefined
setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsetsData: Uint32Array,
dynamicOffsetsDataStart: number,
dynamicOffsetsDataLength: number,
): undefined
setPipeline(pipeline: GPUComputePipeline): undefined