Skip to main content

GPURenderPipeline

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. 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