---
name: "SDL_GPUStorageTextureReadWriteBinding"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_GPUStorageTextureReadWriteBinding"
---

# SDL\_GPUStorageTextureReadWriteBinding(3type)

A structure specifying parameters related to binding textures in a compute pass.

## NAME

SDL\_GPUStorageTextureReadWriteBinding - A structure specifying parameters related to binding textures in a compute pass.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef struct SDL\_GPUStorageTextureReadWriteBinding** **{**     **SDL\_GPUTexture \*texture;  /\*\*\< The texture to bind. Must have been created with SDL\_GPU\_TEXTUREUSAGE\_COMPUTE\_STORAGE\_WRITE or SDL\_GPU\_TEXTUREUSAGE\_COMPUTE\_STORAGE\_SIMULTANEOUS\_READ\_WRITE. \*/**     **Uint32 mip\_level;         /\*\*\< The mip level index to bind. \*/**     **Uint32 layer;             /\*\*\< The layer index to bind. \*/**     **bool cycle;               /\*\*\< true cycles the texture if it is already bound. \*/**     **Uint8 padding1;**     **Uint8 padding2;**     **Uint8 padding3;** **} SDL\_GPUStorageTextureReadWriteBinding;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_BeginGPUComputePass**(3)](/SDL_BeginGPUComputePass/3.md)
