# GPUBindGroupDescriptor

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

*** ** * ** ***


```
class GPUBindGroupDescriptor
```

<br />

*** ** * ** ***

Describes a bind group, which is a collection of resources to be bound to a pipeline.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupDescriptor.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupDescriptor`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupDescriptor#GPUBindGroupDescriptor(androidx.webgpu.GPUBindGroupLayout,kotlin.String,kotlin.Array)( layout: https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupLayout, label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, entries: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupEntry> )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupEntry>` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupDescriptor#entries()` An array of entries describing the resources in the bind group. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupDescriptor#label()` A human-readable label for debugging. |
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupLayout` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUBindGroupDescriptor#layout()` The layout of the bind group. |

## Public constructors

### GPUBindGroupDescriptor

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

```
GPUBindGroupDescriptor(
    layout: GPUBindGroupLayout,
    label: String? = null,
    entries: Array<GPUBindGroupEntry> = arrayOf()
)
```

## Public properties

### entries

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

```
var entries: Array<GPUBindGroupEntry>
```

An array of entries describing the resources in the bind group.

### label

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

```
var label: String?
```

A human-readable label for debugging.

### layout

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

```
var layout: GPUBindGroupLayout
```

The layout of the bind group.