mirror of
https://github.com/simple64/simple64.git
synced 2026-11-18 06:24:02 +01:00
17 lines
510 B
C++
17 lines
510 B
C++
#pragma once
|
|
|
|
#include "wsi.hpp"
|
|
|
|
class QT_WSIPlatform : public Vulkan::WSIPlatform
|
|
{
|
|
public:
|
|
VkSurfaceKHR create_surface(VkInstance instance, VkPhysicalDevice gpu) override;
|
|
void destroy_surface(VkInstance instance, VkSurfaceKHR surface) override;
|
|
std::vector<const char *> get_instance_extensions() override;
|
|
uint32_t get_surface_width() override;
|
|
uint32_t get_surface_height() override;
|
|
bool alive(Vulkan::WSI &wsi) override;
|
|
void poll_input() override;
|
|
void do_resize();
|
|
};
|