QRhiStats Struct
Statistiques fournies par l'allocateur de mémoire sous-jacent. Plus d'informations...
| En-tête : | #include <rhi/qrhi.h> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake : | QT += gui-private |
| Depuis : | Qt 6.6 |
Variables publiques
| quint32 | allocCount |
| quint32 | blockCount |
| qint64 | totalPipelineCreationTime |
| quint64 | totalUsageBytes |
| quint64 | unusedBytes |
| quint64 | usedBytes |
Description détaillée
Note : Il s'agit d'une API RHI avec des garanties de compatibilité limitées, voir QRhi pour plus de détails.
Documentation sur les variables membres
quint32 QRhiStats::allocCount
Statistique rapportée par l'allocateur de mémoire Vulkan ou D3D12.
Voir également QRhi::statistics().
quint32 QRhiStats::blockCount
Statistique rapportée par l'allocateur de mémoire Vulkan ou D3D12.
Voir également QRhi::statistics().
qint64 QRhiStats::totalPipelineCreationTime
Le temps total en millisecondes passé dans la création du pipeline graphique et de calcul, qui implique généralement la compilation des shaders ou la consultation du cache, ainsi qu'un traitement potentiellement coûteux.
Remarque : la valeur ne doit pas être comparée entre différents backends, car le concept de "pipeline" et ce qui se passe exactement sous le capot lors, par exemple, d'un appel à QRhiGraphicsPipeline::create(), diffèrent grandement entre les API graphiques et leurs implémentations.
Voir aussi QRhi::statistics().
quint64 QRhiStats::totalUsageBytes
Valable uniquement avec D3D12 actuellement. Correspond à IDXGIAdapter3::QueryVideoMemoryInfo().
Voir également QRhi::statistics().
quint64 QRhiStats::unusedBytes
Statistique rapportée par l'allocateur de mémoire Vulkan ou D3D12.
Voir également QRhi::statistics().
quint64 QRhiStats::usedBytes
Statistique rapportée par l'allocateur de mémoire Vulkan ou D3D12.
Voir également 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.