BufferBindingType


class BufferBindingType


Specifies the type of a buffer binding in a bind group layout.

Summary

Constants

const Int

Indicates that this binding is not used.

const Int

A read-only storage buffer binding.

const Int

A read-write storage buffer binding.

const Int

Indicates that no buffer binding type is specified.

const Int

A uniform buffer binding.

Public companion functions

String
toString(value: Int)

Constants

BindingNotUsed

const val BindingNotUsed = 0: Int

Indicates that this binding is not used.

ReadOnlyStorage

const val ReadOnlyStorage = 4: Int

A read-only storage buffer binding.

Storage

const val Storage = 3: Int

A read-write storage buffer binding.

Undefined

const val Undefined = 1: Int

Indicates that no buffer binding type is specified.

Uniform

const val Uniform = 2: Int

A uniform buffer binding.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String