blob: 7d983dc55a4f45eb3a76e5cb9e8e78316442446d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
|