QRhiStats Struct
Statistiche fornite dall'allocatore di memoria sottostante. Per saperne di più...
| Intestazione: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| A partire da: | Qt 6.6 |
Variabili pubbliche
| quint32 | allocCount |
| quint32 | blockCount |
| qint64 | totalPipelineCreationTime |
| quint64 | totalUsageBytes |
| quint64 | unusedBytes |
| quint64 | usedBytes |
Descrizione dettagliata
Nota: si tratta di un'API RHI con garanzie di compatibilità limitate; per ulteriori dettagli, consultare QRhi.
Documentazione sulle variabili membro
quint32 QRhiStats::allocCount
Statistica riportata dall'allocatore di memoria Vulkan o D3D12.
Vedi anche QRhi::statistics().
quint32 QRhiStats::blockCount
Statistica riportata dall'allocatore di memoria di Vulkan o D3D12.
Vedi anche QRhi::statistics().
qint64 QRhiStats::totalPipelineCreationTime
Il tempo totale, espresso in millisecondi, impiegato nella creazione della pipeline grafica e di calcolo, che solitamente comporta la compilazione degli shader o le ricerche nella cache, nonché elaborazioni potenzialmente onerose.
Nota: il valore non deve essere confrontato tra backend diversi poiché il concetto di "pipeline" e ciò che accade esattamente "dietro le quinte" durante, ad esempio, una chiamata a QRhiGraphicsPipeline::create(), differiscono notevolmente tra le API grafiche e le loro implementazioni.
Vedi anche QRhi::statistics().
quint64 QRhiStats::totalUsageBytes
Attualmente valido solo con D3D12. Corrisponde a IDXGIAdapter3::QueryVideoMemoryInfo().
Vedi anche QRhi::statistics().
quint64 QRhiStats::unusedBytes
Statistica riportata dall'allocatore di memoria Vulkan o D3D12.
Vedi anche QRhi::statistics().
quint64 QRhiStats::usedBytes
Statistica riportata dall'allocatore di memoria di Vulkan o D3D12.
Vedi anche 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.