summaryrefslogtreecommitdiff
path: root/src/renderer/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/render.h')
-rw-r--r--src/renderer/render.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/renderer/render.h b/src/renderer/render.h
new file mode 100644
index 0000000..c89c364
--- /dev/null
+++ b/src/renderer/render.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "render_types.h"
+
+// --- Lifecycle
+/** @brief initialise the render system frontend */
+bool renderer_init(renderer* ren);
+/** @brief shutdown the render system frontend */
+void renderer_shutdown(renderer* ren);
+
+// --- Frame
+
+void render_frame_begin(renderer* ren);
+void render_frame_end(renderer* ren);
+
+// --- \ No newline at end of file