Documentation / device / BufferBindingLayout
Interface: BufferBindingLayout
Defined in: libs/device/src/gpuobject.ts:1133
Binding layout of a uniform buffer or storage buffer
Properties
type?
optionaltype?:"uniform"|"storage"|"read-only-storage"
Defined in: libs/device/src/gpuobject.ts:1135
The bind type
hasDynamicOffset
hasDynamicOffset:
boolean
Defined in: libs/device/src/gpuobject.ts:1137
Whether the buffer should be accessed by a dynamic offset
uniformLayout
uniformLayout:
UniformBufferLayout
Defined in: libs/device/src/gpuobject.ts:1139
layout for the buffer
minBindingSize?
optionalminBindingSize?:number
Defined in: libs/device/src/gpuobject.ts:1141
minimum binding size of the buffer
dynamicOffsetIndex
dynamicOffsetIndex:
number
Defined in: libs/device/src/gpuobject.ts:1143
dynamic offset index