summaryrefslogtreecommitdiff
path: root/src/systems/grid.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-31 10:19:38 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-31 10:19:38 +1000
commit0a60692230841cbcbbf67acba55d2dbb4730b6cb (patch)
tree1f53fb5144310e6972aa3448c3b68c57e922cb70 /src/systems/grid.h
parent547268b5a9cacc514445a59cc482897fd2f201ee (diff)
add empty grid system
Diffstat (limited to 'src/systems/grid.h')
-rw-r--r--src/systems/grid.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/systems/grid.h b/src/systems/grid.h
new file mode 100644
index 0000000..7d983dc
--- /dev/null
+++ b/src/systems/grid.h
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "ral_impl.h"
+#include "ral_types.h"
+
+typedef struct Grid_Storage {
+ GPU_Renderpass* renderpass;
+ GPU_Pipeline* pipeline;
+ BufferHandle plane_vertices;
+ BufferHandle plane_indices;
+} Grid_Storage;
+
+// --- Public API
+void Grid_Init(Grid_Storage* storage);
+// void Grid_Shutdown(Grid_Storage* storage);
+void Grid_Draw(Grid_Storage* storage);
+
+// --- Internal
+// typedef struct GridUniforms {} GridUniforms;
+// ShaderDataLayout GridUniforms_GetLayout(void* data); \ No newline at end of file