Skip to content

GPUComputePassDescriptor

Options for beginning a compute pass, including optional timestamp writes.

Properties

label

abstract val label: String
The initial value of GPUObjectBase.label. See [GPUObjectDescriptorBase.label in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuobjectdescriptorbase-label).

timestampWrites

Defines which timestamp values will be written for this pass, and where to write them to.