summaryrefslogtreecommitdiff
path: root/gfx-iso/app/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx-iso/app/app.h')
-rw-r--r--gfx-iso/app/app.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx-iso/app/app.h b/gfx-iso/app/app.h
new file mode 100644
index 0000000..160da47
--- /dev/null
+++ b/gfx-iso/app/app.h
@@ -0,0 +1,11 @@
1#pragma once
2
3typedef struct IsoGfx IsoGfx;
4typedef struct IsoGfxApp IsoGfxApp;
5
6typedef struct IsoGfxApp {
7 void* state;
8 void (*shutdown)(IsoGfx*, void* state);
9 void (*update)(IsoGfx*, void* state, double t, double dt);
10 void (*render)(IsoGfx*, void* state);
11} IsoGfxApp;