# GPUCommandBufferDescriptor

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) Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

*** ** * ** ***


```
public final class GPUCommandBufferDescriptor
```

<br />

*** ** * ** ***

Describes a command buffer.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/webgpu/GPUCommandBufferDescriptor.Builder` Builder for `https://developer.android.com/reference/androidx/webgpu/GPUCommandBufferDescriptor`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/webgpu/GPUCommandBufferDescriptor#GPUCommandBufferDescriptor(kotlin.String)(https://developer.android.com/reference/java/lang/String.html label)` |

| ### Public methods |
|---|---|
| `final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/GPUCommandBufferDescriptor#getLabel()()` A human-readable label for debugging. |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUCommandBufferDescriptor#setLabel(kotlin.String)(https://developer.android.com/reference/java/lang/String.html value)` A human-readable label for debugging. |

## Public constructors

### GPUCommandBufferDescriptor

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

```
public GPUCommandBufferDescriptor(String label)
```

## Public methods

### getLabel

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

```
public final String getLabel()
```

A human-readable label for debugging.

### setLabel

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

```
public final void setLabel(String value)
```

A human-readable label for debugging.