# GPUSupportedFeatures.Builder

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

*** ** * ** ***


```
class GPUSupportedFeatures.Builder
```

<br />

*** ** * ** ***

Builder for `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSupportedFeatures`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSupportedFeatures.Builder#Builder()()` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSupportedFeatures` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSupportedFeatures.Builder#build()()` Builds the `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSupportedFeatures`. |
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSupportedFeatures.Builder` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSupportedFeatures.Builder#setFeatures(kotlin.IntArray)(features: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html)` |

## Public constructors

### Builder

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

```
Builder()
```

## Public functions

### build

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

```
fun build(): GPUSupportedFeatures
```

Builds the `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUSupportedFeatures`.

### setFeatures

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

```
fun setFeatures(features: IntArray): GPUSupportedFeatures.Builder
```