ComputePass

An in-progress recording of a compute pass.

Members

Functions

dispatch
void dispatch(uint x, uint y, uint z)

Dispatches compute work operations.

setBindGroup
void setBindGroup(uint index, BindGroup bindGroup, BufferAddress[] offsets)

Sets the active bind group for a given bind group index.

setPipeline
void setPipeline(ComputePipeline pipeline)

Sets the active compute pipeline.

Variables

descriptor
ComputePassDescriptor descriptor;

Describes this ComputePass.

instance
WGPUComputePass* instance;
Undocumented in source.

See Also

Meta