# GPUSamplerBindingLayout

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

*** ** * ** ***


```
class GPUSamplerBindingLayout
```

<br />

*** ** * ** ***

Describes the layout of a sampler binding.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSamplerBindingLayout.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSamplerBindingLayout`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSamplerBindingLayout#GPUSamplerBindingLayout(kotlin.Int)(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSamplerBindingLayout#type()` The type of the sampler binding. |

## Public constructors

### GPUSamplerBindingLayout

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

```
GPUSamplerBindingLayout(type: Int = SamplerBindingType.Filtering)
```

## Public properties

### type

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

```
var type: Int
```

The type of the sampler binding. Defaults to @see `https://developer.android.com/reference/kotlin/androidx/webgpu/SamplerBindingType#Filtering()` if `undefined`.

Value is one of the following:

- `0`
- `1`
- `2`
- `3`
- `4`

<br />