Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPlatformVulkanInstance Class Reference

The QPlatformVulkanInstance class provides an abstraction for Vulkan instances. More...

+ Inheritance diagram for QPlatformVulkanInstance:
+ Collaboration diagram for QPlatformVulkanInstance:

Detailed Description

The QPlatformVulkanInstance class provides an abstraction for Vulkan instances.

Since
5.10

\preliminary

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.
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().

The documentation for this class was generated from the following file: