Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GPUBlitInfo - A structure containing parameters for a blit command.

Availability

       This struct is available since SDL 3.2.0.

Header File

       Defined in SDL3/SDL_gpu.h

Name

       SDL_GPUBlitInfo - A structure containing parameters for a blit command.

See Also

(3), SDL_BlitGPUTexture(3)

Simple Directmedia Layer                           SDL 3.2.10                             SDL_GPUBlitInfo(3type)

Synopsis

#include"SDL3/SDL.h"typedefstructSDL_GPUBlitInfo{SDL_GPUBlitRegionsource;/**<Thesourceregionfortheblit.*/SDL_GPUBlitRegiondestination;/**<Thedestinationregionfortheblit.*/SDL_GPULoadOpload_op;/**<Whatisdonewiththecontentsofthedestinationbeforetheblit.*/SDL_FColorclear_color;/**<Thecolortoclearthedestinationregiontobeforetheblit.Ignoredifload_opisnotSDL_GPU_LOADOP_CLEAR.*/SDL_FlipModeflip_mode;/**<Theflipmodeforthesourceregion.*/SDL_GPUFilterfilter;/**<Thefiltermodeusedwhenblitting.*/boolcycle;/**<truecyclesthedestinationtextureifitisalreadybound.*/Uint8padding1;Uint8padding2;Uint8padding3;}SDL_GPUBlitInfo;

See Also