Interface GPUBindGroupLayoutEntry

Hierarchy

  • GPUBindGroupLayoutEntry

Properties

binding: number

A unique identifier for a resource binding within the GPUBindGroupLayout, corresponding to a GPUBindGroupEntry#bindin | PUBindGroupEntry.binding and a

Binding

attribute in the GPUShaderModule.

When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUBufferBinding.

When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUExternalTexture.

When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUSampler.

When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUTextureView.

When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUTextureView.

visibility: number

A bitset of the members of GPUShaderStage. Each set bit indicates that a GPUBindGroupLayoutEntry's resource will be accessible from the associated shader stage.

Generated using TypeDoc