GPUBindGroupEntry¶
interface GPUBindGroupEntry
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¶
abstract val resource: GPUBindingResource
The resource to bind, which may be a GPUSampler, GPUTexture, GPUTextureView, GPUBuffer, GPUBufferBinding, or GPUExternalTexture.