QRhiMetalNativeHandles Struct
Dient zur Aufnahme des Metal-Geräts, das von der „ QRhi “ verwendet wird. Mehr...
| Überschrift: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Seit: | Qt 6.6 |
| Erbt von: | QRhiNativeHandles |
Öffentliche Variablen
Ausführliche Beschreibung
Hinweis: Dies ist eine RHI-API mit eingeschränkten Kompatibilitätsgarantien. Weitere Informationen finden Sie unter QRhi.
Dokumentation zu den Member-Variablen
MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue
Beim Importieren einer bestehenden Befehlswarteschlange auf eine gültige MTLCommandQueue setzen. Wenn „ nullptr “ gesetzt ist, erstellt „ QRhi “ eine neue Befehlswarteschlange.
MTLDevice *QRhiMetalNativeHandles::dev
Setzen Sie den Wert auf ein gültiges MTLDevice, um ein vorhandenes Gerät zu importieren.
© 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.