# 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)

*** ** * ** ***


```
public final class SamplerBindingType
```

<br />

*** ** * ** ***

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

## Summary

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

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/SamplerBindingType#toString(kotlin.Int)(int value)` |

## Constants

### BindingNotUsed

```
public static final int BindingNotUsed = 0
```

Indicates that this binding is not used.

### Comparison

```
public static final int Comparison = 4
```

A comparison sampler for depth textures.

### Filtering

```
public static final int Filtering = 2
```

A filtering sampler.

### NonFiltering

```
public static final int NonFiltering = 3
```

A non-filtering sampler.

### Undefined

```
public static final int Undefined = 1
```

Indicates that no sampler binding type is specified.

## Public methods

### toString

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
public static final @NonNull String toString(int value)
```