summaryrefslogtreecommitdiff
path: root/src/renderer/cleanroom/renderer.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-31 17:37:40 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-31 17:37:40 +1100
commit1a55bc92eaae3509a18e468198772b8888397492 (patch)
tree25b75d8b0f62d76c815af2e1dc096827a84b0248 /src/renderer/cleanroom/renderer.h
parent1b4c27d514423c9e27a93742b8c8e9eb9f588e27 (diff)
redesigning the renderer backend
Diffstat (limited to 'src/renderer/cleanroom/renderer.h')
-rw-r--r--src/renderer/cleanroom/renderer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/renderer/cleanroom/renderer.h b/src/renderer/cleanroom/renderer.h
new file mode 100644
index 0000000..7d56fe2
--- /dev/null
+++ b/src/renderer/cleanroom/renderer.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "cleanroom/ral.h"
+#include "cleanroom/backend_vulkan.h"
+
+typedef struct renderer2 {
+ void* backend_state;
+ gpu_device* device;
+ gpu_pipeline* static_opaque_pipeline;
+} renderer2; \ No newline at end of file