---
name: "SDL_GPUTextureTransferInfo"
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_GPUTextureTransferInfo"
---

# SDL\_GPUTextureTransferInfo(3type)

A structure specifying parameters related to transferring data to or from a texture.

## NAME

SDL\_GPUTextureTransferInfo - A structure specifying parameters related to transferring data to or from a texture.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUTextureTransferInfo** **{**     **SDL\_GPUTransferBuffer \*transfer\_buffer;  /\*\*\< The transfer buffer used in the transfer operation. \*/**     **Uint32 offset;                           /\*\*\< The starting byte of the image data in the transfer buffer. \*/**     **Uint32 pixels\_per\_row;                   /\*\*\< The number of pixels from one row to the next. \*/**     **Uint32 rows\_per\_layer;                   /\*\*\< The number of rows from one layer/depth-slice to the next. \*/** **} SDL\_GPUTextureTransferInfo;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_UploadToGPUTexture**(3)](/SDL_UploadToGPUTexture/3.md), **•**(3), [**SDL\_DownloadFromGPUTexture**(3)](/SDL_DownloadFromGPUTexture/3.md)
