createBindGroupLayout method

GPUBindGroupLayout createBindGroupLayout(
  1. GPUBindGroupLayoutDescriptor descriptor
)

The createBindGroupLayout() method of the GPUDevice interface creates a GPUBindGroupLayout that defines the structure and purpose of related GPU resources such as buffers that will be used in a pipeline, and is used as a template when creating GPUBindGroups.

Implementation

external GPUBindGroupLayout createBindGroupLayout(
    GPUBindGroupLayoutDescriptor descriptor);