A WebGPU implementation of the BindGroup, which is a wrapper over GPUBindGroup.

Methods

  • Creates a bind group descriptor in WebGPU format

    Parameters

    • device: WebgpuGraphicsDevice

      Graphics device.

    • bindGroup: BindGroup

      Bind group to create the descriptor for.

    Returns any

    • Returns the generated descriptor of type GPUBindGroupDescriptor, which can be used to create a GPUBindGroup