# GPUCommandBufferDescriptor.Builder

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

*** ** * ** ***


```
class GPUCommandBufferDescriptor.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCommandBufferDescriptor` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCommandBufferDescriptor.Builder#build()()` Builds the `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCommandBufferDescriptor`. |
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCommandBufferDescriptor.Builder` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUCommandBufferDescriptor.Builder#setLabel(kotlin.String)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/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(): GPUCommandBufferDescriptor
```

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

### setLabel

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

```
fun setLabel(label: String?): GPUCommandBufferDescriptor.Builder
```