#include <SDL_gpu.h>
A structure containing parameters for a blit command.
- Since
- This struct is available since SDL 3.2.0.
- See also
- SDL_BlitGPUTexture
-
SDL_GPUBlitRegion
-
SDL_GPULoadOp
-
SDL_FColor
-
SDL_FlipMode
-
SDL_GPUFilter
Definition at line 2115 of file SDL_gpu.h.
◆ clear_color
The color to clear the destination region to before the blit. Ignored if load_op is not SDL_GPU_LOADOP_CLEAR.
Definition at line 2119 of file SDL_gpu.h.
◆ cycle
| bool SDL_GPUBlitInfo::cycle |
true cycles the destination texture if it is already bound.
Definition at line 2122 of file SDL_gpu.h.
◆ destination
The destination region for the blit.
Definition at line 2117 of file SDL_gpu.h.
◆ filter
The filter mode used when blitting.
Definition at line 2121 of file SDL_gpu.h.
◆ flip_mode
The flip mode for the source region.
Definition at line 2120 of file SDL_gpu.h.
◆ load_op
What is done with the contents of the destination before the blit.
Definition at line 2118 of file SDL_gpu.h.
◆ padding1
| Uint8 SDL_GPUBlitInfo::padding1 |
◆ padding2
| Uint8 SDL_GPUBlitInfo::padding2 |
◆ padding3
| Uint8 SDL_GPUBlitInfo::padding3 |
◆ source
The source region for the blit.
Definition at line 2116 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: