# SamplerBindingType

Artifact: [androidx.webgpu:webgpu](https://developer.android.com/jetpack/androidx/releases/webgpu) [View Source](https://cs.android.com/search?q=file:androidx/webgpu/SamplerBindingType.kt+class:androidx.webgpu.SamplerBindingType) Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

*** ** * ** ***


```
class SamplerBindingType
```

<br />

*** ** * ** ***

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

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/SamplerBindingType#BindingNotUsed() = 0` Indicates that this binding is not used. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/SamplerBindingType#Comparison() = 4` A comparison sampler for depth textures. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/SamplerBindingType#Filtering() = 2` A filtering sampler. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/SamplerBindingType#NonFiltering() = 3` A non-filtering sampler. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/SamplerBindingType#Undefined() = 1` Indicates that no sampler binding type is specified. |

| ### Public companion functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/SamplerBindingType#toString(kotlin.Int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## 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-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
fun toString(value: Int): String
```