cf_fetch_image¶
Category: draw
GitHub: cute_draw.h
Returns a CF_TemporaryImage for a given sprite.
Parameters | Description |
---|---|
sprite | The sprite. |
Remarks¶
Useful to render a sprite in an external system, e.g. Dear ImGui. This struct is only valid until the next time cf_app_draw_onto_screen is called. This function can have a negative impact on rendering perf.