4#ifndef QWINDOWSVULKANINSTANCE_H
5#define QWINDOWSVULKANINSTANCE_H
7#if defined(VULKAN_H_) && !defined(VK_USE_PLATFORM_WIN32_KHR)
8#error "vulkan.h included without Win32 WSI"
11#define VK_USE_PLATFORM_WIN32_KHR
13#include <QtGui/private/qbasicvulkanplatforminstance_p.h>
14#include <QtCore/qlibrary.h>
31 PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR m_getPhysDevPresSupport;
32 PFN_vkCreateWin32SurfaceKHR m_createSurface;
The QVulkanInstance class represents a native Vulkan instance, enabling Vulkan rendering onto a QSurf...
void createOrAdoptInstance() override
bool supportsPresent(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, QWindow *window) override
VkSurfaceKHR createSurface(HWND win)
Combined button and popup list for selecting options.