---
name: "SDL_GPUBuffer"
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_GPUBuffer"
---

# SDL\_GPUBuffer(3type)

An opaque handle representing a buffer.

## NAME

SDL\_GPUBuffer - An opaque handle representing a buffer.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUBuffer SDL\_GPUBuffer;**

## DESCRIPTION

Used for vertices, indices, indirect draw commands, and general compute data.

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUBuffer**(3)](/SDL_CreateGPUBuffer/3.md), **•**(3), [**SDL\_UploadToGPUBuffer**(3)](/SDL_UploadToGPUBuffer/3.md), **•**(3), [**SDL\_DownloadFromGPUBuffer**(3)](/SDL_DownloadFromGPUBuffer/3.md), **•**(3), [**SDL\_CopyGPUBufferToBuffer**(3)](/SDL_CopyGPUBufferToBuffer/3.md), **•**(3), [**SDL\_BindGPUVertexBuffers**(3)](/SDL_BindGPUVertexBuffers/3.md), **•**(3), [**SDL\_BindGPUIndexBuffer**(3)](/SDL_BindGPUIndexBuffer/3.md), **•**(3), [**SDL\_BindGPUVertexStorageBuffers**(3)](/SDL_BindGPUVertexStorageBuffers/3.md), **•**(3), [**SDL\_BindGPUFragmentStorageBuffers**(3)](/SDL_BindGPUFragmentStorageBuffers/3.md), **•**(3), [**SDL\_DrawGPUPrimitivesIndirect**(3)](/SDL_DrawGPUPrimitivesIndirect/3.md), **•**(3), [**SDL\_DrawGPUIndexedPrimitivesIndirect**(3)](/SDL_DrawGPUIndexedPrimitivesIndirect/3.md), **•**(3), [**SDL\_BindGPUComputeStorageBuffers**(3)](/SDL_BindGPUComputeStorageBuffers/3.md), **•**(3), [**SDL\_DispatchGPUComputeIndirect**(3)](/SDL_DispatchGPUComputeIndirect/3.md), **•**(3), [**SDL\_ReleaseGPUBuffer**(3)](/SDL_ReleaseGPUBuffer/3.md)
