Files
lunar/src/Application.h

29 lines
392 B
C
Raw Normal View History

#pragma once
#include <memory>
#include <SDL3/SDL_video.h>
#include "Logger.h"
#include <imgui.h>
namespace Lunar {
class VulkanRenderer;
struct Application {
Application();
~Application();
auto run() -> void;
private:
SDL_Window *m_window { nullptr };
Logger m_logger { "Lunar" };
std::unique_ptr<VulkanRenderer> m_renderer;
bool m_running { true };
};
} // namespace Lunar