createBindGroup method

GPUBindGroup createBindGroup(
  1. GPUBindGroupDescriptor descriptor
)

The createBindGroup() method of the GPUDevice interface creates a GPUBindGroup based on a GPUBindGroupLayout that defines a set of resources to be bound together in a group and how those resources are used in shader stages.

Implementation

external GPUBindGroup createBindGroup(GPUBindGroupDescriptor descriptor);