24 lines
641 B
C
24 lines
641 B
C
#ifndef RENDER_H
|
|
#define RENDER_H
|
|
|
|
#include "gpu.h"
|
|
#include "ui.h"
|
|
#include "hex.h"
|
|
|
|
// Forward declaration so draw_frame can accept RenderGraph* without pulling in
|
|
// the full render_graph.h include chain here.
|
|
typedef struct RenderGraphStruct RenderGraph;
|
|
|
|
void record_hex_draw(VkCommandBuffer, HexContext*, VkDeviceAddress, double, uint32_t);
|
|
void record_container_draw(VkCommandBuffer, RenderContext*, UIContext*, double, uint32_t);
|
|
void record_ui_compute(VkCommandBuffer, UIContext*, uint32_t);
|
|
|
|
VkResult draw_frame(
|
|
RenderGraph* graph,
|
|
RenderContext* context,
|
|
UIContext* ui,
|
|
HexContext* hex,
|
|
double time);
|
|
|
|
#endif
|