QRhiNullInitParams Struct

バックエンド固有の初期化パラメータを NULL にします。さらに...

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

詳しい説明

注意: これは互換性保証に制限のある RHI API です。詳細はQRhi を参照してください。

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

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

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

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