BufferBindingLayout¶
data class BufferBindingLayout(
val type: GPUBufferBindingType = GPUBufferBindingType.Uniform,
val hasDynamicOffset: Boolean = false,
val minBindingSize: GPUSize64
) : GPUBufferBindingLayout
Constructors¶
BufferBindingLayout¶
constructor(
type: GPUBufferBindingType = GPUBufferBindingType.Uniform,
hasDynamicOffset: Boolean = false,
minBindingSize: GPUSize64
)
Properties¶
hasDynamicOffset¶
open override val hasDynamicOffset: Boolean
Indicates whether this binding requires a dynamic offset.
minBindingSize¶
open override 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¶
open override val type: GPUBufferBindingType
Indicates the type required for buffers bound to this binding.