Statistics provided from the underlying memory allocator. 更多...
头: | #include <QRhiStats> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Since: | Qt 6.6 |
quint32 | allocCount |
quint32 | blockCount |
qint64 | totalPipelineCreationTime |
quint64 | totalUsageBytes |
quint64 | unusedBytes |
quint64 | usedBytes |
注意: This is a RHI API with limited compatibility guarantees, see QRhi 了解细节。
Statistic reported from the Vulkan or D3D12 memory allocator.
另请参阅 QRhi::statistics ().
Statistic reported from the Vulkan or D3D12 memory allocator.
另请参阅 QRhi::statistics ().
The total time in milliseconds spent in graphics and compute pipeline creation, which usually involves shader compilation or cache lookups, and potentially expensive processing.
注意: The value should not be compared between different backends since the concept of "pipelines" and what exactly happens under the hood during, for instance, a call to QRhiGraphicsPipeline::create (), differ greatly between graphics APIs and their implementations.
另请参阅 QRhi::statistics ().
Valid only with D3D12 currently. Matches IDXGIAdapter3::QueryVideoMemoryInfo().
另请参阅 QRhi::statistics ().
Statistic reported from the Vulkan or D3D12 memory allocator.
另请参阅 QRhi::statistics ().
Statistic reported from the Vulkan or D3D12 memory allocator.
另请参阅 QRhi::statistics ().