Skip to content

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? ​

optional buffer?: BufferBindingLayout

Defined in: libs/device/src/gpuobject.ts:1214

Binding layout if the resource is a buffer


sampler? ​

optional sampler?: SamplerBindingLayout

Defined in: libs/device/src/gpuobject.ts:1216

Binding layout if the resource is a sampler


texture? ​

optional texture?: TextureBindingLayout

Defined in: libs/device/src/gpuobject.ts:1218

Binding layout if the resource is a texture for sampling


storageTexture? ​

optional storageTexture?: StorageTextureBindingLayout

Defined in: libs/device/src/gpuobject.ts:1220

Binding layout if the resource is a storage texture


externalTexture? ​

optional externalTexture?: ExternalTextureBindingLayout

Defined in: libs/device/src/gpuobject.ts:1222

Binding layout if the resource is an external texture

Released under the MIT License.