---
name: "SDL_GPUTransferBufferUsage"
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_GPUTransferBufferUsage"
---

# SDL\_GPUTransferBufferUsage(3type)

Specifies how a transfer buffer is intended to be used by the client.

## NAME

SDL\_GPUTransferBufferUsage - Specifies how a transfer buffer is intended to be used by the client.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef enum SDL\_GPUTransferBufferUsage** **{**     **SDL\_GPU\_TRANSFERBUFFERUSAGE\_UPLOAD,**     **SDL\_GPU\_TRANSFERBUFFERUSAGE\_DOWNLOAD** **} SDL\_GPUTransferBufferUsage;**

## DESCRIPTION

Note that mapping and copying FROM an upload transfer buffer or TO a download transfer buffer is undefined behavior.

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUTransferBuffer**(3)](/SDL_CreateGPUTransferBuffer/3.md)
