QRhiStats Struct
Estadísticas proporcionadas por el asignador de memoria subyacente. Más...
| Encabezado: | #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: Se trata de una API de RHI con garantías de compatibilidad limitadas; consulta QRhi para obtener más detalles.
Documentación de las variables de miembro
quint32 QRhiStats::allocCount
Estadística proporcionada por el asignador de memoria de Vulkan o D3D12.
Véase también QRhi::statistics().
quint32 QRhiStats::blockCount
Estadística proporcionada por el asignador de memoria de Vulkan o D3D12.
Véase también QRhi::statistics().
qint64 QRhiStats::totalPipelineCreationTime
El tiempo total, en milisegundos, dedicado a la creación de canalizaciones gráficas y de cálculo, lo que suele implicar la compilación de shaders o consultas a la caché, así como un procesamiento que puede resultar costoso.
Nota: No se debe comparareste valor entre diferentes backends, ya que el concepto de «canales» y lo que ocurre exactamente en segundo plano durante, por ejemplo, una llamada a QRhiGraphicsPipeline::create(), difiere considerablemente entre las API gráficas y sus implementaciones.
Véase también QRhi::statistics().
quint64 QRhiStats::totalUsageBytes
Actualmente solo es válido con D3D12. Equivale a IDXGIAdapter3::QueryVideoMemoryInfo().
Véase también QRhi::statistics().
quint64 QRhiStats::unusedBytes
Estadística proporcionada por el asignador de memoria de Vulkan o D3D12.
Véase también QRhi::statistics().
quint64 QRhiStats::usedBytes
Estadística proporcionada por el asignador de memoria de 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.