このページでは

QRhiNullInitParams Struct

バックエンド固有の初期化パラメータが指定されていません。詳細...

ヘッダー: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
以下のように: Qt 6.6
継承元: QRhiInitParams

詳細な説明

注: これは 互換性の保証が限定的な RHI API です。詳細についてはQRhi を参照してください。

NullのQRhi は、初期化に特別なパラメータを必要としません。

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

Null バックエンドは、グラフィックス呼び出しを発行せず、リソースも作成しません。すべてのQRhi 操作は通常通り成功するため、アプリケーションは引き続き実行可能ですが、フレームのレンダリング戦略によっては、スロットリングがかからない速度で実行される可能性があります。

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