Documentation / device / BindGroupLayoutEntry
Interface: BindGroupLayoutEntry
Defined in: libs/device/src/gpuobject.ts:1195
Information of bind group entries
Properties
binding
binding:
number
Defined in: libs/device/src/gpuobject.ts:1197
The binding location
name
name:
string
Defined in: libs/device/src/gpuobject.ts:1199
Name of this binding resource
visibility
visibility:
number
Defined in: libs/device/src/gpuobject.ts:1201
Visibility mask
type
type:
PBTypeInfo
Defined in: libs/device/src/gpuobject.ts:1203
Type of the binding resource
buffer?
optionalbuffer?:BufferBindingLayout
Defined in: libs/device/src/gpuobject.ts:1205
Binding layout if the resource is a buffer
sampler?
optionalsampler?:SamplerBindingLayout
Defined in: libs/device/src/gpuobject.ts:1207
Binding layout if the resource is a sampler
texture?
optionaltexture?:TextureBindingLayout
Defined in: libs/device/src/gpuobject.ts:1209
Binding layout if the resource is a texture for sampling
storageTexture?
optionalstorageTexture?:StorageTextureBindingLayout
Defined in: libs/device/src/gpuobject.ts:1211
Binding layout if the resource is a storage texture
externalTexture?
optionalexternalTexture?:ExternalTextureBindingLayout
Defined in: libs/device/src/gpuobject.ts:1213
Binding layout if the resource is an external texture