From 7b3afcaf77f96e7d62f6cd1623ead7f17512d79f Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 24 Feb 2024 22:47:46 +1100 Subject: repo init. partial port of existing code --- src/renderer/render_backend.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/renderer/render_backend.h (limited to 'src/renderer/render_backend.h') diff --git a/src/renderer/render_backend.h b/src/renderer/render_backend.h new file mode 100644 index 0000000..61c7ab5 --- /dev/null +++ b/src/renderer/render_backend.h @@ -0,0 +1,15 @@ +/** + * @brief + */ +#pragma once + +#include "maths_types.h" +#include "render_types.h" + +/// --- Lifecycle +bool gfx_backend_init(renderer* ren); +void gfx_backend_shutdown(renderer* ren); + +void clear_screen(vec3 colour); + +// --- Uniforms -- cgit v1.2.3-70-g09d2