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.
Go to Latest
class GPUComputePassEncoder
import { GPUComputePassEncoder } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno_webgpu.d.ts";

Properties

label: string

Methods

beginPipelineStatisticsQuery(querySet: GPUQuerySet, queryIndex: number): undefined
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
writeTimestamp(querySet: GPUQuerySet, queryIndex: number): undefined