Provided by: libsdl3-doc_3.2.8+ds-1_all bug

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)

Simple Directmedia Layer                            SDL 3.2.8                           SDL_GPUBlitRegion(3type)