Fill some number of rectangles on the current rendering target with the drawing color at subpixel precision.
Defined in <SDL3/SDL_render.h>
bool SDL_RenderFillRects(SDL_Renderer *renderer, const SDL_FRect *rects, int count);
SDL_Renderer * | renderer | the renderer which should fill multiple rectangles. |
const SDL_FRect * | rects | a pointer to an array of destination rectangles. |
int | count | the number of rectangles. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
You may only call this function from the main thread.
This function is available since SDL 3.1.3.