# GPUStorageTextureBindingLayout

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

*** ** * ** ***


```
public final class GPUStorageTextureBindingLayout
```

<br />

*** ** * ** ***

Describes the layout of a storage texture binding.

## Summary

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

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/webgpu/GPUStorageTextureBindingLayout#GPUStorageTextureBindingLayout(kotlin.Int,kotlin.Int,kotlin.Int)( int access, int format, int viewDimension )` |

| ### Public methods |
|---|---|
| `final int` | `https://developer.android.com/reference/androidx/webgpu/GPUStorageTextureBindingLayout#getAccess()()` The access mode for the storage texture. |
| `final int` | `https://developer.android.com/reference/androidx/webgpu/GPUStorageTextureBindingLayout#getFormat()()` The format of the storage texture. |
| `final int` | `https://developer.android.com/reference/androidx/webgpu/GPUStorageTextureBindingLayout#getViewDimension()()` |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUStorageTextureBindingLayout#setAccess(kotlin.Int)(int value)` The access mode for the storage texture. |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUStorageTextureBindingLayout#setFormat(kotlin.Int)(int value)` The format of the storage texture. |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUStorageTextureBindingLayout#setViewDimension(kotlin.Int)(int value)` |

## Public constructors

### GPUStorageTextureBindingLayout

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

```
public GPUStorageTextureBindingLayout(
    int access,
    int format,
    int viewDimension
)
```

## Public methods

### getAccess

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

```
public final int getAccess()
```

The access mode for the storage texture. Defaults to @see `https://developer.android.com/reference/androidx/webgpu/StorageTextureAccess#WriteOnly()`.

### getFormat

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

```
public final int getFormat()
```

The format of the storage texture.

### getViewDimension

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

```
public final int getViewDimension()
```

### setAccess

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

```
public final void setAccess(int value)
```

The access mode for the storage texture. Defaults to @see `https://developer.android.com/reference/androidx/webgpu/StorageTextureAccess#WriteOnly()`.

### setFormat

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

```
public final void setFormat(int value)
```

The format of the storage texture.

### setViewDimension

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

```
public final void setViewDimension(int value)
```