SamplerBindingType


class SamplerBindingType


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

Summary

Constants

const Int

Indicates that this binding is not used.

const Int

A comparison sampler for depth textures.

const Int

A filtering sampler.

const Int

A non-filtering sampler.

const Int

Indicates that no sampler binding type is specified.

Public companion functions

String
toString(value: Int)

Constants

BindingNotUsed

const val BindingNotUsed = 0: Int

Indicates that this binding is not used.

Comparison

const val Comparison = 4: Int

A comparison sampler for depth textures.

Filtering

const val Filtering = 2: Int

A filtering sampler.

NonFiltering

const val NonFiltering = 3: Int

A non-filtering sampler.

Undefined

const val Undefined = 1: Int

Indicates that no sampler binding type is specified.

Public companion functions

toString

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