Struct ComputePass

An in-progress recording of a compute pass.

struct ComputePass ;

Fields

NameTypeDescription
descriptor __C.WGPUComputePassDescriptorDescribes this ComputePass.

Methods

NameDescription
dispatch (x, y, z) Dispatches compute work operations.
setBindGroup (index, bindGroup, offsets) Sets the active bind group for a given bind group index.
setPipeline (pipeline) Sets the active compute pipeline.

See Also

wgpu::ComputePass