QRhiNullInitParams Struct
Null backend specific initialization parameters. More...
Header: | #include <QRhiNullInitParams> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Since: | Qt 6.6 |
Inherits: | QRhiInitParams |
Detailed Description
Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.
A Null QRhi needs no special parameters for initialization.
QRhiNullInitParams params; rhi = QRhi::create(QRhi::Null, ¶ms);
The Null backend does not issue any graphics calls and creates no resources. All QRhi operations will succeed as normal so applications can still be run, albeit potentially at an unthrottled speed, depending on their frame rendering strategy.
© 2024 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.