QRhiNullInitParams Struct
Null-Backend-spezifische Initialisierungsparameter. 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 |
Erbt: | QRhiInitParams |
Detaillierte Beschreibung
Hinweis: Dies ist eine RHI API mit begrenzten Kompatibilitätsgarantien, siehe QRhi für Details.
Eine Null QRhi benötigt keine speziellen Parameter für die Initialisierung.
QRhiNullInitParams params; rhi = QRhi::create(QRhi::Null, ¶ms);
Das Null-Backend führt keine Grafikaufrufe durch und erstellt keine Ressourcen. Alle QRhi -Operationen werden wie gewohnt ausgeführt, so dass Anwendungen weiterhin ausgeführt werden können, wenn auch möglicherweise mit ungedrosselter Geschwindigkeit, je nach ihrer Frame-Rendering-Strategie.
© 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.