---
name: "SDL_GPUBufferRegion"
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_GPUBufferRegion"
---

# SDL\_GPUBufferRegion(3type)

A structure specifying a region of a buffer.

## NAME

SDL\_GPUBufferRegion - A structure specifying a region of a buffer.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUBufferRegion** **{**     **SDL\_GPUBuffer \*buffer;  /\*\*\< The buffer. \*/**     **Uint32 offset;          /\*\*\< The starting byte within the buffer. \*/**     **Uint32 size;            /\*\*\< The size in bytes of the region. \*/** **} SDL\_GPUBufferRegion;**

## DESCRIPTION

Used when transferring data to or from buffers.

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_UploadToGPUBuffer**(3)](/SDL_UploadToGPUBuffer/3.md), **•**(3), [**SDL\_DownloadFromGPUBuffer**(3)](/SDL_DownloadFromGPUBuffer/3.md)
