Skip to main content

GPUComputePipeline

The GPUComputePipeline interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder. Available only in secure contexts.

MDN Reference

Extends

Methods

getBindGroupLayout()

getBindGroupLayout(index): GPUBindGroupLayout;

MDN Reference

Parameters

ParameterType
indexnumber

Returns

GPUBindGroupLayout

Inherited from

GPUPipelineBase.getBindGroupLayout

Properties

label

label: string;

MDN Reference

Inherited from

GPUObjectBase.label