Skip to content

Documentation / device / BufferBindingLayout

Interface: BufferBindingLayout

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

Binding layout of a uniform buffer or storage buffer

Properties

type?

optional type?: "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?

optional minBindingSize?: 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

Released under the MIT License.