QRhiVulkanCommandBufferNativeHandles Struct

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

头: #include <QRhiVulkanCommandBufferNativeHandles>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Since: Qt 6.6
继承: QRhiNativeHandles

公共变量

VkCommandBuffer commandBuffer

详细描述

注意: The Vulkan command buffer object is only guaranteed to be valid, and in recording state, while recording a frame. That is, between a beginFrame () - endFrame () 或 beginOffscreenFrame () - endOffscreenFrame () pair.

注意: This is a RHI API with limited compatibility guarantees, see QRhi 了解细节。

成员变量文档编制

VkCommandBuffer QRhiVulkanCommandBufferNativeHandles:: commandBuffer

The VkCommandBuffer object.