Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-12-02 03:16:07 +02:00
commit 8d3749cc6a
14 changed files with 651 additions and 0 deletions

26
src/Application.h Normal file
View File

@@ -0,0 +1,26 @@
#pragma once
#include <SDL3/SDL_video.h>
#include <VkBootstrap.h>
#include <vulkan/vulkan_core.h>
#include "src/Logger.h"
namespace Lunar {
struct Application {
Application();
~Application();
auto run() -> void;
private:
vkb::Instance m_vkb_instance;
VkSurfaceKHR m_vk_surface { nullptr };
SDL_Window *m_window { nullptr };
Logger m_logger { "Lunar" };
bool m_running { true };
};
} // namespace Lunar