Documentation / device / BindGroupLayoutEntry
Interface: BindGroupLayoutEntry
Defined in: libs/device/src/gpuobject.ts:1204
Information of bind group entries
Properties
binding
binding:
number
Defined in: libs/device/src/gpuobject.ts:1206
The binding location
name
name:
string
Defined in: libs/device/src/gpuobject.ts:1208
Name of this binding resource
visibility
visibility:
number
Defined in: libs/device/src/gpuobject.ts:1210
Visibility mask
type
type:
PBTypeInfo
Defined in: libs/device/src/gpuobject.ts:1212
Type of the binding resource
buffer?
optionalbuffer?:BufferBindingLayout
Defined in: libs/device/src/gpuobject.ts:1214
Binding layout if the resource is a buffer
sampler?
optionalsampler?:SamplerBindingLayout
Defined in: libs/device/src/gpuobject.ts:1216
Binding layout if the resource is a sampler
texture?
optionaltexture?:TextureBindingLayout
Defined in: libs/device/src/gpuobject.ts:1218
Binding layout if the resource is a texture for sampling
storageTexture?
optionalstorageTexture?:StorageTextureBindingLayout
Defined in: libs/device/src/gpuobject.ts:1220
Binding layout if the resource is a storage texture
externalTexture?
optionalexternalTexture?:ExternalTextureBindingLayout
Defined in: libs/device/src/gpuobject.ts:1222
Binding layout if the resource is an external texture