Modules/Graphics/private/WindowContext.hpp
Шурупов Илья Викторович 9dd7d9435c Put the window behind a platform interface
Window talks to a PlatformWindow created by createPlatformWindow, and
WaylandWindow is the Linux implementation. This lets another platform
provide the window without touching Window or the code above it.
2026-10-17 09:19:48 +03:00

17 lines
251 B
C++

#pragma once
#include "Window.hpp"
#include "VulkanContext.hpp"
#include "PlatformWindow.hpp"
#include <memory>
namespace tp {
class Window::Context {
public:
std::unique_ptr<PlatformWindow> platform;
VulkanContext* vulkan = nullptr;
};
}