En esta página

QRhiStats Struct

Estadísticas proporcionadas por el asignador de memoria subyacente. Más...

Cabecera: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
Desde: Qt 6.6

Variables Públicas

quint32 allocCount
quint32 blockCount
qint64 totalPipelineCreationTime
quint64 totalUsageBytes
quint64 unusedBytes
quint64 usedBytes

Descripción detallada

Nota: Esta es una API RHI con garantías de compatibilidad limitadas, consulte QRhi para más detalles.

Documentación de Variables Miembro

quint32 QRhiStats::allocCount

Estadística reportada desde el asignador de memoria Vulkan o D3D12.

Véase también QRhi::statistics().

quint32 QRhiStats::blockCount

Estadística reportada desde el asignador de memoria Vulkan o D3D12.

Véase también QRhi::statistics().

qint64 QRhiStats::totalPipelineCreationTime

El tiempo total en milisegundos empleado en la creación de canalizaciones gráficas y de cálculo, que normalmente implica la compilación de sombreadores o búsquedas en la caché, y un procesamiento potencialmente costoso.

Nota: El valor no debe ser comparado entre diferentes backends ya que el concepto de "pipelines" y lo que ocurre exactamente durante, por ejemplo, una llamada a QRhiGraphicsPipeline::create(), difiere mucho entre APIs gráficas y sus implementaciones.

Véase también QRhi::statistics().

quint64 QRhiStats::totalUsageBytes

Válido sólo con D3D12 actualmente. Coincide con IDXGIAdapter3::QueryVideoMemoryInfo().

Véase también QRhi::statistics().

quint64 QRhiStats::unusedBytes

Estadística reportada desde el asignador de memoria Vulkan o D3D12.

Véase también QRhi::statistics().

quint64 QRhiStats::usedBytes

Estadística reportada desde el asignador de memoria Vulkan o D3D12.

Véase también 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.