summaryrefslogtreecommitdiff
path: root/archive/src/systems/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'archive/src/systems/grid.h')
-rw-r--r--archive/src/systems/grid.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/archive/src/systems/grid.h b/archive/src/systems/grid.h
new file mode 100644
index 0000000..d8bc567
--- /dev/null
+++ b/archive/src/systems/grid.h
@@ -0,0 +1,21 @@
+#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
+PUB void Grid_Init(Grid_Storage* storage);
+// void Grid_Shutdown(Grid_Storage* storage);
+PUB void Grid_Draw();
+
+// --- Internal
+void Grid_Execute(Grid_Storage* storage);
+// typedef struct GridUniforms {} GridUniforms;
+// ShaderDataLayout GridUniforms_GetLayout(void* data); \ No newline at end of file