Skip to content

cf_draw_pop_layer

Category: draw
GitHub: cute_draw.h


Pops and returns the last draw layer.

int cf_draw_pop_layer();

Remarks

Draw layers are sorted before rendering. Lower numbers are rendered fast, while larger numbers are rendered last. This can be used to pick which sprites/shapes should draw on top of each other.

cf_draw_push_layer
cf_draw_peek_layer