mirror of
https://github.com/slendidev/lunar.git
synced 2025-12-16 20:19:52 +02:00
26
src/Application.h
Normal file
26
src/Application.h
Normal 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
|
||||
Reference in New Issue
Block a user