Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno_webgpu.d.ts>GPUComputePassEncoder

A modern runtime for JavaScript and TypeScript.
Latest
class GPUComputePassEncoder
import { GPUComputePassEncoder } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno_webgpu.d.ts";

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