QRhiMetalNativeHandles Struct

Hält das Metallgerät, das von der QRhi verwendet wird. Mehr....

Kopfzeile: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
Since: Qt 6.6
Vererbt: QRhiNativeHandles

Öffentliche Variablen

MTLCommandQueue *cmdQueue
MTLDevice *dev

Detaillierte Beschreibung

Hinweis: Dies ist eine RHI API mit eingeschränkten Kompatibilitätsgarantien, siehe QRhi für Details.

Dokumentation der Mitgliedsvariablen

MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue

Wird beim Importieren einer bestehenden Befehlswarteschlange auf eine gültige MTLCommandQueue gesetzt. Unter nullptr wird mit QRhi eine neue Befehlswarteschlange erstellt.

MTLDevice *QRhiMetalNativeHandles::dev

Auf ein gültiges MTLDevice setzen, um ein vorhandenes Gerät zu importieren.

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