# GPUExtent3D.Builder

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

*** ** * ** ***


```
class GPUExtent3D.Builder
```

<br />

*** ** * ** ***

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

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUExtent3D.Builder#Builder(kotlin.Int)(width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUExtent3D` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUExtent3D.Builder#build()()` Builds the `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUExtent3D`. |
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUExtent3D.Builder` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUExtent3D.Builder#setDepthOrArrayLayers(kotlin.Int)(depthOrArrayLayers: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUExtent3D.Builder` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUExtent3D.Builder#setHeight(kotlin.Int)(height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## Public constructors

### Builder

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

```
Builder(width: Int)
```

## Public functions

### build

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

```
fun build(): GPUExtent3D
```

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

### setDepthOrArrayLayers

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

```
fun setDepthOrArrayLayers(depthOrArrayLayers: Int): GPUExtent3D.Builder
```

### setHeight

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

```
fun setHeight(height: Int): GPUExtent3D.Builder
```