Collects device, queue, and other Vulkan objects that are used by the QRhi. More...
| Header: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Since: | Qt 6.6 |
| Inherits: | QRhiNativeHandles |
| VkDevice | dev |
| VkQueue | gfxQueue |
| quint32 | gfxQueueFamilyIdx |
| quint32 | gfxQueueIdx |
| QVulkanInstance * | inst |
| VkPhysicalDevice | physDev |
| void * | vmemAllocator |
Note: Ownership of the Vulkan objects is never transferred.
Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.
When wanting to import not just a physical device, but also use an already existing VkDevice, set this and the graphics queue index and family index.
Output only, not used by QRhi::create(), only set by the QRhi::nativeHandles() accessor. The graphics VkQueue used by the QRhi.
Graphics queue family index.
Graphics queue index.
Output only, not used by QRhi::create(), only set by the QRhi::nativeHandles() accessor. The QVulkanInstance used by the QRhi.
When different from nullptr, specifies the Vulkan physical device to use.
Relevant only when importing an existing memory allocator object, leave it set to nullptr otherwise.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: