QRhiStats Struct
기본 메모리 할당기에서 제공된 통계 정보입니다. 더 보기...
| 헤더: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| 다음부터: | Qt 6.6부터 |
공개 변수
| quint32 | allocCount |
| quint32 | blockCount |
| qint64 | totalPipelineCreationTime |
| quint64 | totalUsageBytes |
| quint64 | unusedBytes |
| quint64 | usedBytes |
상세 설명
참고: 이 API는 호환성이 제한적으로 보장되는 RHI API입니다. 자세한 내용은 QRhi 를 참조하십시오.
멤버 변수 문서
quint32 QRhiStats::allocCount
Vulkan 또는 D3D12 메모리 할당기에서 보고된 통계입니다.
QRhi::statistics()도 참조하십시오 .
quint32 QRhiStats::blockCount
Vulkan 또는 D3D12 메모리 할당기에서 보고된 통계입니다.
QRhi::statistics()도 참조하십시오 .
qint64 QRhiStats::totalPipelineCreationTime
그래픽 및 컴퓨트 파이프라인 생성(일반적으로 셰이더 컴파일이나 캐시 조회, 그리고 잠재적으로 비용이 많이 드는 처리가 포함됨)에 소요된 총 시간(밀리초 단위).
참고: "파이프라인"이라는 개념과, 예를 들어 QRhiGraphicsPipeline::create() 호출 시 내부적으로 정확히 어떤 작업이 수행되는지는 그래픽 API와 그 구현 방식에 따라 크게 다르기 때문에, 서로 다른 백엔드 간의값을 비교해서는 안 됩니다.
QRhi::statistics()항목도 참조하십시오 .
quint64 QRhiStats::totalUsageBytes
현재 D3D12에서만 유효합니다. IDXGIAdapter3::QueryVideoMemoryInfo()와 일치합니다.
QRhi::statistics()도 참조하십시오 .
quint64 QRhiStats::unusedBytes
Vulkan 또는 D3D12 메모리 할당기에서 보고된 통계입니다.
QRhi::statistics()도 참조하십시오 .
quint64 QRhiStats::usedBytes
Vulkan 또는 D3D12 메모리 할당기에서 보고된 통계입니다.
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.