Customized fork of github.com/rxi/lite
1#ifndef RENCACHE_H
2#define RENCACHE_H
3
4#include <stdbool.h>
5#include "renderer.h"
6
7void rencache_show_debug(bool enable);
8void rencache_free_font(RenFont *font);
9void rencache_set_clip_rect(RenRect rect);
10void rencache_draw_rect(RenRect rect, RenColor color);
11int rencache_draw_text(RenFont *font, const char *text, int x, int y, RenColor color);
12void rencache_invalidate(void);
13void rencache_begin_frame(void);
14void rencache_end_frame(void);
15
16#endif