Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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 GPUBindGroupLayout
s generated by the pipeline.