Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The GPUComputePipeline
interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder
.
A GPUComputePipeline
object instance can be created using the GPUDevice.createComputePipeline()
or GPUDevice.createComputePipelineAsync()
methods.