diff options
Diffstat (limited to 'src/systems/grid.h')
-rw-r--r-- | src/systems/grid.h | 20 |
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 |