---
name: "SDL_GPUStorageBufferReadWriteBinding"
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_GPUStorageBufferReadWriteBinding"
---

# SDL\_GPUStorageBufferReadWriteBinding(3type)

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

## NAME

SDL\_GPUStorageBufferReadWriteBinding - A structure specifying parameters related to binding buffers in a compute pass.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUStorageBufferReadWriteBinding** **{**     **SDL\_GPUBuffer \*buffer;  /\*\*\< The buffer to bind. Must have been created with SDL\_GPU\_BUFFERUSAGE\_COMPUTE\_STORAGE\_WRITE. \*/**     **bool cycle;             /\*\*\< true cycles the buffer if it is already bound. \*/**     **Uint8 padding1;**     **Uint8 padding2;**     **Uint8 padding3;** **} SDL\_GPUStorageBufferReadWriteBinding;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

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