A structure specifying a region of a texture used in the blit operation.
Defined in <SDL3/SDL_gpu.h>
typedef struct SDL_GPUBlitRegion
{/**< The texture. */
SDL_GPUTexture *texture; /**< The mip level index of the region. */
Uint32 mip_level; /**< 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 layer_or_depth_plane; /**< The left offset of the region. */
Uint32 x; /**< The top offset of the region. */
Uint32 y; /**< The width of the region. */
Uint32 w; /**< The height of the region. */
Uint32 h; } SDL_GPUBlitRegion;
This struct is available since SDL 3.1.3