# GPUSupportedInstanceFeatures.Builder

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

*** ** * ** ***


```
public final class GPUSupportedInstanceFeatures.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/webgpu/GPUSupportedInstanceFeatures` | `https://developer.android.com/reference/androidx/webgpu/GPUSupportedInstanceFeatures.Builder#build()()` Builds the `https://developer.android.com/reference/androidx/webgpu/GPUSupportedInstanceFeatures`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/webgpu/GPUSupportedInstanceFeatures.Builder` | `https://developer.android.com/reference/androidx/webgpu/GPUSupportedInstanceFeatures.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 GPUSupportedInstanceFeatures build()
```

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

### setFeatures

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

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