---
name: "SDL_GPUBufferBinding"
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_GPUBufferBinding"
---

# SDL\_GPUBufferBinding(3type)

A structure specifying parameters in a buffer binding call.

## NAME

SDL\_GPUBufferBinding - A structure specifying parameters in a buffer binding call.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUBufferBinding** **{**     **SDL\_GPUBuffer \*buffer;  /\*\*\< The buffer to bind. Must have been created with SDL\_GPU\_BUFFERUSAGE\_VERTEX for SDL\_BindGPUVertexBuffers, or SDL\_GPU\_BUFFERUSAGE\_INDEX for SDL\_BindGPUIndexBuffer. \*/**     **Uint32 offset;          /\*\*\< The starting byte of the data to bind in the buffer. \*/** **} SDL\_GPUBufferBinding;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_BindGPUVertexBuffers**(3)](/SDL_BindGPUVertexBuffers/3.md), **•**(3), [**SDL\_BindGPUIndexBuffer**(3)](/SDL_BindGPUIndexBuffer/3.md)
