getBindGroupLayout method

GPUBindGroupLayout getBindGroupLayout(
  1. int index
)

The getBindGroupLayout() method of the GPURenderPipeline interface returns the pipeline's GPUBindGroupLayout object with the given index (i.e. included in the originating GPUDevice.createRenderPipeline or GPUDevice.createRenderPipelineAsync call's pipeline layout).

If the GPURenderPipeline was created with layout: "auto", this method is the only way to retrieve the GPUBindGroupLayouts generated by the pipeline.

Implementation

external GPUBindGroupLayout getBindGroupLayout(int index);