# StorageTextureAccess

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

*** ** * ** ***


```
public final class StorageTextureAccess
```

<br />

*** ** * ** ***

Defines the access mode for a storage texture binding.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/StorageTextureAccess#BindingNotUsed() = 0` Indicates that this binding is not used. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/StorageTextureAccess#ReadOnly() = 3` Read-only access. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/StorageTextureAccess#ReadWrite() = 4` Read-write access. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/StorageTextureAccess#Undefined() = 1` Indicates that no storage texture access mode is specified. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/StorageTextureAccess#WriteOnly() = 2` Write-only access. |

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/StorageTextureAccess#toString(kotlin.Int)(int value)` |

## Constants

### BindingNotUsed

```
public static final int BindingNotUsed = 0
```

Indicates that this binding is not used.

### ReadOnly

```
public static final int ReadOnly = 3
```

Read-only access.

### ReadWrite

```
public static final int ReadWrite = 4
```

Read-write access.

### Undefined

```
public static final int Undefined = 1
```

Indicates that no storage texture access mode is specified.

### WriteOnly

```
public static final int WriteOnly = 2
```

Write-only access.

## Public methods

### toString

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

```
public static final @NonNull String toString(int value)
```