unigi.ext/main.h

19 lines
697 B
C
Raw Normal View History

2024-09-10 23:53:56 +00:00
#ifndef unigi_header_ext_main
#define unigi_header_ext_main
2024-09-13 21:24:46 +00:00
#define unigi_ext_texture_fixedpointdepth 16
2024-09-10 23:53:56 +00:00
#include "types.h"
#include "structs.h"
void unigi_ext_texture_draw(
unigi_ext_type_texture * tex,
unigi_ext_type_texture * buffer,
2024-09-10 23:53:56 +00:00
unigi_ext_type_rect texbounds,
unigi_ext_type_rect bufbounds
);
2024-09-13 21:25:10 +00:00
void unigi_ext_rect_dimensions(unigi_ext_type_rect bounds, unigi_ext_type_2d_coord * width, unigi_ext_type_2d_coord * height);
2024-09-25 19:17:32 +00:00
unigi_ext_type_texture * unigi_ext_texture_create(unigi_type_resolution_2d_coord width, unigi_type_resolution_2d_coord height);
2024-09-13 21:25:10 +00:00
void unigi_ext_texture_destroy(unigi_ext_type_texture * texture);
unigi_ext_type_texture * unigi_ext_texture_open(char * path);
2024-09-10 23:53:56 +00:00
#endif