From 0a60692230841cbcbbf67acba55d2dbb4730b6cb Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:19:38 +1000 Subject: add empty grid system --- src/systems/grid.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/systems/grid.h (limited to 'src/systems/grid.h') 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 -- cgit v1.2.3-70-g09d2