Skip to content

GPUBufferBindingLayout

Describes the type, dynamic-offset behavior, and minimum size of a buffer binding.

Properties

hasDynamicOffset

abstract val hasDynamicOffset: Boolean
Indicates whether this binding requires a dynamic offset.

minBindingSize

abstract val minBindingSize: GPUSize64
Indicates the minimum size of a buffer binding used with this bind point. Bindings are always validated against this size in createBindGroup().

type

abstract val type: GPUBufferBindingType
Indicates the type required for buffers bound to this binding.