QRhiStats 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 |
パブリック変数
| quint32 | allocCount |
| quint32 | blockCount |
| qint64 | totalPipelineCreationTime |
| quint64 | totalUsageBytes |
| quint64 | unusedBytes |
| quint64 | usedBytes |
詳細な説明
注:これは 互換性の保証が限定的な RHI API です。詳細については、QRhi を参照してください。
メンバ変数のドキュメント
quint32 QRhiStats::allocCount
Vulkan または D3D12 のメモリアロケータから報告される統計情報。
QRhi::statistics()も参照してください 。
quint32 QRhiStats::blockCount
Vulkan または D3D12 のメモリ割り当て機能から報告された統計情報。
QRhi::statistics()も参照してください 。
qint64 QRhiStats::totalPipelineCreationTime
グラフィックスおよびコンピュートパイプラインの作成に要した合計時間(ミリ秒単位)。これには通常、シェーダーのコンパイルやキャッシュの検索、および処理負荷が高い可能性のある処理が含まれます。
注: 「パイプライン」という概念や、例えば `QRhiGraphicsPipeline::create()` の呼び出し中に内部で実際に何が起きているかについては、グラフィックス API とその実装によって大きく異なるため、異なるバックエンド間でこの値を 比較すべきではありません。
QRhi::statistics()も参照してください 。
quint64 QRhiStats::totalUsageBytes
現時点では D3D12 でのみ有効です。IDXGIAdapter3::QueryVideoMemoryInfo() に対応しています。
QRhi::statistics()も参照してください 。
quint64 QRhiStats::unusedBytes
Vulkan または D3D12 のメモリ割り当て機能から報告された統計情報。
QRhi::statistics()も参照してください 。
quint64 QRhiStats::usedBytes
Vulkan または D3D12 のメモリ割り当て機能から報告された統計情報。
QRhi::statistics()も参照してください 。
© 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.