###### (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!) # SDL_GPUTransferBuffer An opaque handle representing a transfer buffer. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_gpu.h) ## Syntax ```c typedef struct SDL_GPUTransferBuffer SDL_GPUTransferBuffer; ``` ## Remarks Used for transferring data to and from the device. ## Version This struct is available since SDL 3.1.3 ## See Also - [SDL_CreateGPUTransferBuffer](SDL_CreateGPUTransferBuffer) - [SDL_MapGPUTransferBuffer](SDL_MapGPUTransferBuffer) - [SDL_UnmapGPUTransferBuffer](SDL_UnmapGPUTransferBuffer) - [SDL_UploadToGPUBuffer](SDL_UploadToGPUBuffer) - [SDL_UploadToGPUTexture](SDL_UploadToGPUTexture) - [SDL_DownloadFromGPUBuffer](SDL_DownloadFromGPUBuffer) - [SDL_DownloadFromGPUTexture](SDL_DownloadFromGPUTexture) - [SDL_ReleaseGPUTransferBuffer](SDL_ReleaseGPUTransferBuffer) ---- [CategoryAPI](CategoryAPI), [CategoryAPIDatatype](CategoryAPIDatatype), [CategoryGPU](CategoryGPU)