Skip to content

cf_draw_list_begin

Category: draw
GitHub: cute_draw.h


Starts recording draw calls into a list, replacing its previous contents.

void cf_draw_list_begin(CF_DrawList list);

Remarks

Recording happens in list-local space: the camera resets to identity for the duration, and cf_draw_list composes the then-current transform onto the recording at replay. Text records a static snapshot (animated text effects freeze at record time). Canvas blits (cf_draw_canvas) cannot be recorded. End with cf_draw_list_end.

CF_DrawList
cf_make_draw_list
cf_destroy_draw_list
cf_draw_list_end
cf_draw_list