Sur cette page

QRhiMetalNativeHandles Struct

Contient le dispositif métallique utilisé par le site QRhi. 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 : QRhiNativeHandles

Variables publiques

MTLCommandQueue *cmdQueue
MTLDevice *dev

Description détaillée

Note : Il s'agit d'une API RHI avec des garanties de compatibilité limitées, voir QRhi pour plus de détails.

Documentation sur les variables membres

MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue

Définit une MTLCommandQueue valide lors de l'importation d'une file d'attente de commandes existante. Lorsque nullptr, QRhi crée une nouvelle file d'attente de commandes.

MTLDevice *QRhiMetalNativeHandles::dev

Définir un MTLDevice valide pour importer un dispositif 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.