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

SDL_RenderRects - Draw some number of rectangles on the current rendering target at subpixel precision.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

renderer
              the renderer which should draw multiple rectangles.

       rects  a pointer to an array of destination rectangles.

       count  the number of rectangles.

Name

       SDL_RenderRects - Draw some number of rectangles on the current rendering target at subpixel precision.

Return Value

       for more information.

See Also

SDL_RenderRect(3)

Simple Directmedia Layer                           SDL 3.2.20                                 SDL_RenderRects(3)

Synopsis

#include<SDL3/SDL_render.h>boolSDL_RenderRects(SDL_Renderer*renderer,constSDL_FRect*rects,intcount);

Thread Safety

       This function should only be called on the main thread.

See Also