PySide6.QtGui.QRhiNullInitParams

class QRhiNullInitParams

Null backend specific initialization parameters.

Details

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.

Inheritance diagram of PySide6.QtGui.QRhiNullInitParams

Added in version 6.6.

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE