QPlatformVulkanInstance Class
The QPlatformVulkanInstance class provides an abstraction for Vulkan instances. More...
Header: | #include <QPlatformVulkanInstance> |
Inherited By: |
Detailed Description
\since
5.10 \internal
\preliminary
\ingroup
qpa
The platform Vulkan instance is responsible for loading a Vulkan library, resolving the basic entry points for creating instances, providing support for creating new or adopting existing VkInstances, and abstracting some WSI-specifics like checking if a given queue family can be used to present using a given window.
Note: platform plugins will typically subclass not this class, but rather QBasicVulkanPlatformInstance.
Note: Vulkan instance creation is split into two phases: a new QPlatformVulkanInstance is expected to load the Vulkan library and do basic initialization, after which the supported layers and extensions can be queried. Everything else is deferred into createOrAdoptInstance().