TextureSampleType


class TextureSampleType


Specifies the data type of a sampled texture in a bind group layout.

Summary

Constants

const Int

Indicates that this binding is not used.

const Int
Depth = 4

A depth texture.

const Int
Float = 2

A floating-point texture.

const Int
Sint = 5

A signed integer texture.

const Int
Uint = 6

An unsigned integer texture.

const Int

Indicates that no texture sample type is specified.

const Int

A non-filterable floating-point texture.

Public companion functions

String
toString(value: Int)

Constants

BindingNotUsed

const val BindingNotUsed = 0: Int

Indicates that this binding is not used.

Depth

const val Depth = 4: Int

A depth texture.

Float

const val Float = 2: Int

A floating-point texture.

Sint

const val Sint = 5: Int

A signed integer texture.

Uint

const val Uint = 6: Int

An unsigned integer texture.

Undefined

const val Undefined = 1: Int

Indicates that no texture sample type is specified.

UnfilterableFloat

const val UnfilterableFloat = 3: Int

A non-filterable floating-point texture.

Public companion functions

toString

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