A structure containing parameters for a blit command.
Defined in <SDL3/SDL_gpu.h>
typedef struct SDL_GPUBlitInfo {
/**< The source region for the blit. */
SDL_GPUBlitRegion source; /**< The destination region for the blit. */
SDL_GPUBlitRegion destination; /**< What is done with the contents of the destination before the blit. */
SDL_GPULoadOp load_op; /**< The color to clear the destination region to before the blit. Ignored if load_op is not SDL_GPU_LOADOP_CLEAR. */
SDL_FColor clear_color; /**< The flip mode for the source region. */
SDL_FlipMode flip_mode; /**< The filter mode used when blitting. */
SDL_GPUFilter filter; bool cycle; /**< true cycles the destination texture if it is already bound. */
Uint8 padding1;
Uint8 padding2;
Uint8 padding3; } SDL_GPUBlitInfo;
This struct is available since SDL 3.1.3