# TextureSampleType

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

*** ** * ** ***


```
public final class TextureSampleType
```

<br />

*** ** * ** ***

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

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/TextureSampleType#BindingNotUsed() = 0` Indicates that this binding is not used. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/TextureSampleType#Depth() = 4` A depth texture. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/TextureSampleType#Float() = 2` A floating-point texture. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/TextureSampleType#Sint() = 5` A signed integer texture. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/TextureSampleType#Uint() = 6` An unsigned integer texture. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/TextureSampleType#Undefined() = 1` Indicates that no texture sample type is specified. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/TextureSampleType#UnfilterableFloat() = 3` A non-filterable floating-point texture. |

| ### 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/TextureSampleType#toString(kotlin.Int)(int value)` |

## Constants

### BindingNotUsed

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

Indicates that this binding is not used.

### Depth

```
public static final int Depth = 4
```

A depth texture.

### Float

```
public static final int Float = 2
```

A floating-point texture.

### Sint

```
public static final int Sint = 5
```

A signed integer texture.

### Uint

```
public static final int Uint = 6
```

An unsigned integer texture.

### Undefined

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

Indicates that no texture sample type is specified.

### UnfilterableFloat

```
public static final int UnfilterableFloat = 3
```

A non-filterable floating-point texture.

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