Interface GPUBindGroupLayoutEntry

Hierarchy

  • GPUBindGroupLayoutEntry

Properties

binding: number

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

Binding

attribute in the GPUShaderModule.

Exactly one of these members must be set, indicating the binding type. The contents of the member specify options specific to that type. The corresponding resource in createBindGroup requires the corresponding binding resource type for this binding.

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