Aller au contenu

GPUBindGroupEntry

Associates a binding index with the GPU resource supplied for that binding.

Properties

binding

abstract val binding: GPUIndex32
A unique identifier for a resource binding within the GPUBindGroup, corresponding to a GPUBindGroupLayoutEntry.binding and a @binding attribute in the GPUShaderModule.

resource

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