CF_DrawList¶
Category: draw
GitHub: cute_draw.h
A retained list of recorded draw calls, replayable each frame for ~zero CPU cost.
Remarks¶
CF is immediate-mode: every frame normally re-records everything. A draw list captures a static snapshot once -- shapes, sprites, text, paths, along with their layers, colors, and transforms -- and replays it under the current camera with a single call. Static content (tilemaps, level geometry, UI chrome, backgrounds) skips all of its per-frame record cost: no transform math, no text layout, no per-object draw calls.
Related Pages¶
cf_destroy_draw_list
cf_make_draw_list
cf_draw_list_begin
cf_draw_list_end
cf_draw_list