- Qt 6.10
- Qt GUI
- C++ Classes
- QtGuiPrivate
- QRhiNullInitParams
- Qt 6.10.0 Reference Documentation

# QRhiNullInitParams Struct

Null backend specific initialization parameters. More...

Header: | `#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
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, &params);

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.