本页内容

QRhiVulkanCommandBufferNativeHandles Struct

保存作为QRhiCommandBuffer 后端支持的Vulkan命令缓冲区对象。更多内容...

头文件: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
自: Qt 6.6
继承自: QRhiNativeHandles

公共变量

VkCommandBuffer commandBuffer

详细描述

注意: Vulkan 命令缓冲区对象 仅在记录帧期间才保证有效且处于记录状态。也就是说,仅在beginFrame() -endFrame() 或beginOffscreenFrame() -endOffscreenFrame() 这对调用之间有效。

注意:这是一个 兼容性保证有限的 RHI API,详情请参阅QRhi 。

成员变量文档

VkCommandBuffer QRhiVulkanCommandBufferNativeHandles::commandBuffer

VkCommandBuffer 对象。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.