#ifndef VULKANWINDOW_H #define VULKANWINDOW_H #include #include #include #include #include "Types.h" #ifdef Q_OS_ANDROID #include #else #include #endif #define VK_USE_PLATFORM_XCB_KHR // Enable Vulkan support for Linux (XCB) #define VK_USE_PLATFORM_ANDROID_KHR // Enable Vulkan support for Android class VulkanWindow : public QWindow { Q_OBJECT public: VulkanWindow(); virtual ~VulkanWindow(); private: void createVulkanSurface(); void cleanup(); VkSurfaceKHR _surface; VkInstance _instance; }; #endif // VULKANWINDOW_H