QRhiMetalNativeHandles Struct
| 标题: | #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 |
公共变量
详细说明
注意:这是一个 兼容性保证有限的 RHI API,详情请参阅QRhi 。
成员变量文档
MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue
导入现有命令队列时,应将其设置为有效的 MTLCommandQueue。当nullptr 时,QRhi 将创建一个新的命令队列。
MTLDevice *QRhiMetalNativeHandles::dev
将其设置为一个有效的 MTLDevice 以导入现有设备。
© 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.