Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ drawRect()

void Flint::UICanvas::drawRect ( Rect< float > rect,
Color color )

Submits a flat quad drawing sequence down to the current active runtime pipeline layer.

Parameters
rectCalculated screen space dimension coordinate box tracking the destination boundary.
colorThe target uniform tint vector applied to the shape primitive.