Interface GPUBindGroupLayoutEntry
binding: number;
buffer?: GPUBufferBindingLayout;
externalTexture?: GPUExternalTextureBindingLayout;
sampler?: GPUSamplerBindingLayout;
storageTexture?: GPUStorageTextureBindingLayout;
texture?: GPUTextureBindingLayout;
visibility: number;
}
Index
Properties
binding
Binding
attribute in the GPUShaderModule.
Optional
buffer
When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUBufferBinding.
Optional
externalTexture
When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUExternalTexture.
Optional
sampler
When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUSampler.
Optional
storageTexture
When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUTextureView.
Optional
texture
When map/exist|provided, indicates the binding resource type for this GPUBindGroupLayoutEntry is GPUTextureView.
visibility
A bitset of the members of GPUShaderStage. Each set bit indicates that a GPUBindGroupLayoutEntry's resource will be accessible from the associated shader stage.
A unique identifier for a resource binding within the GPUBindGroupLayout, corresponding to a GPUBindGroupEntry.binding and a