---
name: "SDL_GPUBlitRegion"
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_GPUBlitRegion"
---

# SDL\_GPUBlitRegion(3type)

A structure specifying a region of a texture used in the blit operation.

## NAME

SDL\_GPUBlitRegion - A structure specifying a region of a texture used in the blit operation.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUBlitRegion** **{**     **SDL\_GPUTexture \*texture;  /\*\*\< The texture. \*/**     **Uint32 mip\_level;             /\*\*\< The mip level index of the region. \*/**     **Uint32 layer\_or\_depth\_plane;  /\*\*\< The layer index or depth plane of the region. This value is treated as a layer index on 2D array and cube textures, and as a depth plane on 3D textures. \*/**     **Uint32 x;                     /\*\*\< The left offset of the region. \*/**     **Uint32 y;                     /\*\*\< The top offset of the region.  \*/**     **Uint32 w;                     /\*\*\< The width of the region. \*/**     **Uint32 h;                     /\*\*\< The height of the region. \*/** **} SDL\_GPUBlitRegion;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

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