getBindGroupLayout method

GPUBindGroupLayout getBindGroupLayout(
  1. int index
)

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

If the GPUComputePipeline 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);