---
name: "SDL_GPUBlitInfo"
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_GPUBlitInfo"
---

# SDL\_GPUBlitInfo(3type)

A structure containing parameters for a blit command.

## NAME

SDL\_GPUBlitInfo - A structure containing parameters for a blit command.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUBlitInfo {**     **SDL\_GPUBlitRegion source;       /\*\*\< The source region for the blit. \*/**     **SDL\_GPUBlitRegion destination;  /\*\*\< The destination region for the blit. \*/**     **SDL\_GPULoadOp load\_op;          /\*\*\< What is done with the contents of the destination before the blit. \*/**     **SDL\_FColor clear\_color;         /\*\*\< The color to clear the destination region to before the blit. Ignored if load\_op is not SDL\_GPU\_LOADOP\_CLEAR. \*/**     **SDL\_FlipMode flip\_mode;         /\*\*\< The flip mode for the source region. \*/**     **SDL\_GPUFilter filter;           /\*\*\< The filter mode used when blitting. \*/**     **bool cycle;                 /\*\*\< true cycles the destination texture if it is already bound. \*/**     **Uint8 padding1;**     **Uint8 padding2;**     **Uint8 padding3;** **} SDL\_GPUBlitInfo;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_BlitGPUTexture**(3)](/SDL_BlitGPUTexture/3.md)
