class GPUCommandEncoder
implements GPUObjectBase
import { GPUCommandEncoder } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno_webgpu.d.ts";
Methods
beginComputePass(descriptor?: GPUComputePassDescriptor): GPUComputePassEncoder
beginRenderPass(descriptor: GPURenderPassDescriptor): GPURenderPassEncoder
clearBuffer(): undefined
copyBufferToBuffer(): undefined
source: GPUBuffer,
sourceOffset: number,
destination: GPUBuffer,
destinationOffset: number,
size: number,
copyBufferToTexture(): undefined
copyTextureToBuffer(): undefined
copyTextureToTexture(): undefined
finish(descriptor?: GPUCommandBufferDescriptor): GPUCommandBuffer
insertDebugMarker(markerLabel: string): undefined
popDebugGroup(): undefined
pushDebugGroup(groupLabel: string): undefined
resolveQuerySet(): undefined
querySet: GPUQuerySet,
firstQuery: number,
queryCount: number,
destination: GPUBuffer,
destinationOffset: number,
writeTimestamp(querySet: GPUQuerySet, queryIndex: number): undefined