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

*** ** * ** ***


```
public final class GPUSupportedFeatures.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/webgpu/GPUSupportedFeatures` | `https://developer.android.com/reference/androidx/webgpu/GPUSupportedFeatures.Builder#build()()` Builds the `https://developer.android.com/reference/androidx/webgpu/GPUSupportedFeatures`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/webgpu/GPUSupportedFeatures.Builder` | `https://developer.android.com/reference/androidx/webgpu/GPUSupportedFeatures.Builder#setFeatures(kotlin.IntArray)(@https://developer.android.com/reference/androidx/annotation/NonNull int[] features)` |

## Public constructors

### Builder

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

```
public Builder()
```

## Public methods

### build

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

```
public final @NonNull GPUSupportedFeatures build()
```

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

### setFeatures

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

```
public final @NonNull GPUSupportedFeatures.Builder setFeatures(@NonNull int[] features)
```