createPipelineLayout method

GPUPipelineLayout createPipelineLayout(
  1. GPUPipelineLayoutDescriptor descriptor
)

The createPipelineLayout() method of the GPUDevice interface creates a GPUPipelineLayout that defines the GPUBindGroupLayouts used by a pipeline. GPUBindGroups used with the pipeline during command encoding must have compatible GPUBindGroupLayouts.

Implementation

external GPUPipelineLayout createPipelineLayout(
    GPUPipelineLayoutDescriptor descriptor);