cf_render_layers_to¶
Category: draw
GitHub: cute_draw.h
Renders to a CF_Canvas between a lo/hi range (inclusive).
| Parameters | Description |
|---|---|
canvas |
The canvas to render to. |
layer_lo |
The layer to start rendering with. |
layer_hi |
The layer to stop rendering after. |
clear |
If true the canvas gets cleared before rendering. |
Remarks¶
Renders a range of layers to a canvas. All draw_ functions called on other layers will not be executed. Everything queued up between
layer_lo and layer_hi will get processed and rendered to the canvas, and then removed from the internal command queue (won't be rendered again later).
Related Pages¶
cf_draw_scale
cf_draw_translate
cf_draw_rotate
cf_draw_push
cf_draw_pop
cf_app_draw_onto_screen
cf_render_to
cf_draw_canvas