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
QRhiVulkanCommandBufferNativeHandles Class Reference

\variable QRhiVulkanNativeHandles::physDev More...

+ Collaboration diagram for QRhiVulkanCommandBufferNativeHandles:

Detailed Description

\variable QRhiVulkanNativeHandles::physDev

When different from \nullptr, specifies the Vulkan physical device to use.

\variable QRhiVulkanNativeHandles::dev

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.

\variable QRhiVulkanNativeHandles::gfxQueueFamilyIdx

Graphics queue family index.

\variable QRhiVulkanNativeHandles::gfxQueueIdx

Graphics queue index.

\variable QRhiVulkanNativeHandles::vmemAllocator

Relevant only when importing an existing memory allocator object, leave it set to \nullptr otherwise.

\variable QRhiVulkanNativeHandles::gfxQueue

Output only, not used by QRhi::create(), only set by the QRhi::nativeHandles() accessor. The graphics VkQueue used by the QRhi.

\variable QRhiVulkanNativeHandles::inst

Output only, not used by QRhi::create(), only set by the QRhi::nativeHandles() accessor. The QVulkanInstance used by the QRhi.

\inmodule QtGui

Since
6.6

Holds the Vulkan command buffer object that is backing a QRhiCommandBuffer.

Note
The Vulkan command buffer object is only guaranteed to be valid, and in recording state, while recording a frame. That is, between a \l{QRhi::beginFrame()}{beginFrame()} - \l{QRhi::endFrame()}{endFrame()} or \l{QRhi::beginOffscreenFrame()}{beginOffscreenFrame()} - \l{QRhi::endOffscreenFrame()}{endOffscreenFrame()} pair.
This is a RHI API with limited compatibility guarantees, see \l QRhi for details.

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