QRhiMetalNativeHandles Struct
头文件: | #include <rhi/qrhi.h> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) 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,以导入现有设备。
© 2025 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.