QRhiStats Struct
Statistiken, die von der zugrundeliegenden Speicherzuweisung bereitgestellt werden. Mehr...
Kopfzeile: | #include <rhi/qrhi.h> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
qmake: | QT += gui-private |
Since: | Qt 6.6 |
Öffentliche Variablen
quint32 | allocCount |
quint32 | blockCount |
qint64 | totalPipelineCreationTime |
quint64 | totalUsageBytes |
quint64 | unusedBytes |
quint64 | usedBytes |
Detaillierte Beschreibung
Hinweis: Dies ist eine RHI API mit eingeschränkten Kompatibilitätsgarantien, siehe QRhi für Details.
Dokumentation der Mitgliedsvariablen
quint32 QRhiStats::allocCount
Vom Vulkan- oder D3D12-Speicherzuweiser gemeldete Statistik.
Siehe auch QRhi::statistics().
quint32 QRhiStats::blockCount
Vom Vulkan- oder D3D12-Speicherzuweiser gemeldete Statistik.
Siehe auch QRhi::statistics().
qint64 QRhiStats::totalPipelineCreationTime
Die Gesamtzeit in Millisekunden, die für die Erstellung von Grafik- und Rechenpipelines aufgewendet wird, was in der Regel die Kompilierung von Shadern oder das Nachschlagen im Cache sowie eine potenziell teure Verarbeitung beinhaltet.
Hinweis: Der Wert sollte nicht zwischen verschiedenen Backends verglichen werden, da das Konzept der "Pipelines" und das, was genau unter der Haube passiert, z. B. während eines Aufrufs von QRhiGraphicsPipeline::create(), sich zwischen den Grafik-APIs und ihren Implementierungen stark unterscheiden.
Siehe auch QRhi::statistics().
quint64 QRhiStats::totalUsageBytes
Derzeit nur mit D3D12 gültig. Entspricht IDXGIAdapter3::QueryVideoMemoryInfo().
Siehe auch QRhi::statistics().
quint64 QRhiStats::unusedBytes
Vom Vulkan- oder D3D12-Speicherzuweiser gemeldete Statistik.
Siehe auch QRhi::statistics().
quint64 QRhiStats::usedBytes
Vom Vulkan- oder D3D12-Speicherzuweiser gemeldete Statistik.
Siehe auch QRhi::statistics().
© 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.