In questa pagina

QRhiMetalNativeHandles Struct

Contiene il dispositivo Metal utilizzato dall’ QRhi. Altro...

Intestazione: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
A partire da: Qt 6.6
Eredita da: QRhiNativeHandles

Variabili pubbliche

MTLCommandQueue *cmdQueue
MTLDevice *dev

Descrizione dettagliata

Nota: si tratta di un'API RHI con garanzie di compatibilità limitate; per ulteriori dettagli, consultare QRhi.

Documentazione sulle variabili membro

MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue

Impostare su una MTLCommandQueue valida quando si importa una coda di comandi esistente. Se si imposta su “ nullptr ”, “ QRhi ” creerà una nuova coda di comandi.

MTLDevice *QRhiMetalNativeHandles::dev

Impostare su un MTLDevice valido per importare un dispositivo esistente.

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