Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The GPURenderPipeline
interface of the WebGPU API represents a pipeline that controls the vertex and fragment shader stages and can be used in a GPURenderPassEncoder
or GPURenderBundleEncoder
.
A GPURenderPipeline
object instance can be created using the GPUDevice.createRenderPipeline()
or GPUDevice.createRenderPipelineAsync()
methods.