18class QCocoaVulkanInstance :
public QBasicPlatformVulkanInstance
21 QCocoaVulkanInstance(QVulkanInstance *instance);
22 ~QCocoaVulkanInstance();
24 void createOrAdoptInstance() override;
26 VkSurfaceKHR *surface(QWindow *window);
29 VkSurfaceKHR createSurface(NSView *view);
31 QVulkanInstance *m_instance =
nullptr;
33 VkSurfaceKHR m_nullSurface =
nullptr;
34 PFN_vkCreateMacOSSurfaceMVK m_createSurface =
nullptr;