# 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)

*** ** * ** ***


```
class StorageTextureAccess
```

<br />

*** ** * ** ***

Defines the access mode for a storage texture binding.

## Summary

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

| ### Public companion functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/StorageTextureAccess#toString(kotlin.Int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## Constants

### BindingNotUsed

```
const val BindingNotUsed = 0: Int
```

Indicates that this binding is not used.

### ReadOnly

```
const val ReadOnly = 3: Int
```

Read-only access.

### ReadWrite

```
const val ReadWrite = 4: Int
```

Read-write access.

### Undefined

```
const val Undefined = 1: Int
```

Indicates that no storage texture access mode is specified.

### WriteOnly

```
const val WriteOnly = 2: Int
```

Write-only access.

## Public companion functions

### toString

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

```
fun toString(value: Int): String
```