roleplay/client/include/hex.h

23 lines
373 B
C

#ifndef HEX_H
#define HEX_H
#include "gpu.h"
2024-10-30 21:24:03 -06:00
typedef struct GPUHexContextStruct {
mat4 proj;
mat4 view;
} GPUHexContext;
typedef struct HexPushConstantStruct {
VkDeviceAddress context;
2024-10-30 21:24:03 -06:00
double time;
} HexPushConstant;
VkResult create_hex_pipeline(
VkDevice device,
VkRenderPass render_pass,
GraphicsPipeline* graphics,
ComputePipeline* compute);
#endif