Auf dieser Seite

QRhiNullInitParams Struct

Keine backend-spezifischen Initialisierungsparameter. Mehr...

Header: #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: QRhiInitParams

Ausführliche Beschreibung

Hinweis: Dies ist eine RHI-API mit eingeschränkten Kompatibilitätsgarantien; weitere Informationen finden Sie unter QRhi.

Ein Null- QRhi benötigt keine speziellen Parameter zur Initialisierung.

QRhiNullInitParams params;
rhi = QRhi::create(QRhi::Null, &params);

Das Null- QRhi führt keine Grafikaufrufe aus und erstellt keine Ressourcen. Alle -Operationen werden wie gewohnt erfolgreich ausgeführt, sodass Anwendungen weiterhin ausgeführt werden können, wenn auch je nach ihrer Bildwiederholstrategie möglicherweise mit uneingeschränkter Geschwindigkeit.

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