Skip to content

Documentation / @ripl/webgpu / createPipeline

Function: createPipeline()

createPipeline(device, format, options?): PipelineState

Defined in: webgpu/src/pipeline.ts:87

Creates the render pipeline and associated layouts on the given device.

Parameters

ParameterType
deviceGPUDevice
formatGPUTextureFormat
options?PipelineOptions

Returns

PipelineState