SDL_GPUBlitInfo

A structure containing parameters for a blit command.

Members

Variables

clear_color
SDL_FColor clear_color;

The color to clear the destination region to before the blit. Ignored if load_op is not SDL_GPU_LOADOP_CLEAR.

cycle
bool cycle;

true cycles the destination texture if it is already bound.

destination
SDL_GPUBlitRegion destination;

The destination region for the blit.

filter
SDL_GPUFilter filter;

The filter mode used when blitting.

flip_mode
SDL_FlipMode flip_mode;

The flip mode for the source region.

load_op
SDL_GPULoadOp load_op;

What is done with the contents of the destination before the blit.

padding1
Uint8 padding1;
Undocumented in source.
padding2
Uint8 padding2;
Undocumented in source.
padding3
Uint8 padding3;
Undocumented in source.
source
SDL_GPUBlitRegion source;

The source region for the blit.

See Also

Meta