QRhiMetalNativeHandles Struct
Contient l'appareil Metal utilisé par l'QRhi. En savoir plus...
| En-tête : | #include <rhi/qrhi.h> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake : | QT += gui-private |
| Depuis : | Qt 6.6 |
| Hérite de : | QRhiNativeHandles |
Variables publiques
Description détaillée
Remarque : il s'agit d'une API RHI dont la compatibilité n'est pas entièrement garantie. Pour plus de détails, consultez QRhi.
Documentation sur les variables membres
MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue
Définir une MTLCommandQueue valide lors de l’importation d’une file d’attente de commandes existante. Lorsque l’option « nullptr » est activée, la commande « QRhi » crée une nouvelle file d’attente de commandes.
MTLDevice *QRhiMetalNativeHandles::dev
Définissez-le sur un MTLDevice valide pour importer un périphérique existant.
© 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.