本页内容

QRhiD3D12CommandBufferNativeHandles Struct

包含一个 ID3D12GraphicsCommandList1 对象,该对象为QRhiCommandBuffer 提供支持。更多内容...

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

公共变量

void *commandList

详细说明

注意: 仅在录制帧期间, 命令列表对象才 保证有效且处于录制状态。即在beginFrame() -endFrame()或beginOffscreenFrame() -endOffscreenFrame()这对调用之间。

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

成员变量文档

void *QRhiD3D12CommandBufferNativeHandles::commandList

© 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.