GPUBufferBindingLayout


class GPUBufferBindingLayout


Describes the layout of a buffer binding.

Summary

Nested types

Builder for GPUBufferBindingLayout.

Public constructors

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

Public properties

Boolean
Long
Int

The type of the buffer binding.

Public constructors

GPUBufferBindingLayout

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

Public properties

hasDynamicOffset

Added in 1.0.0-alpha06
var hasDynamicOffset: Boolean

minBindingSize

Added in 1.0.0-alpha06
var minBindingSize: Long

type

Added in 1.0.0-alpha06
var type: Int

The type of the buffer binding. Defaults to @see BufferBindingType.Uniform if undefined.