Interface GPUBindGroupEntry

    interface GPUBindGroupEntry {
        binding: number;
        resource: GPUBindingResource;
    }

    Properties

    Properties

    binding: number

    A unique identifier for a resource binding within the GPUBindGroup, corresponding to a GPUBindGroupLayoutEntry.binding and a

    attribute in the GPUShaderModule.

    The resource to bind, which may be a GPUSampler, GPUTextureView, GPUExternalTexture, or GPUBufferBinding.