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