GPUBufferBindingLayout


class GPUBufferBindingLayout


The required configuration for a buffer binding in a bind group layout.

Summary

Public constructors

GPUBufferBindingLayout(
    type: Int,
    hasDynamicOffset: Boolean,
    minBindingSize: Long
)

Public properties

Boolean
Long
Int

The type of buffer access (uniform, storage, read-only storage).

Public constructors

GPUBufferBindingLayout

Added in 1.0.0-alpha02
GPUBufferBindingLayout(
    type: Int = BufferBindingType.Uniform,
    hasDynamicOffset: Boolean = false,
    minBindingSize: Long = 0
)

Public properties

hasDynamicOffset

Added in 1.0.0-alpha02
var hasDynamicOffsetBoolean

minBindingSize

Added in 1.0.0-alpha02
var minBindingSizeLong

type

Added in 1.0.0-alpha02
var typeInt

The type of buffer access (uniform, storage, read-only storage).