QRhiStats Struct

기본 메모리 할당기에서 제공하는 통계입니다. 더 보기...

헤더: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
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

자세한 설명

참고: 호환성이 제한적으로 보장되는 RHI API입니다. 자세한 내용은 QRhi 을 참조하세요.

멤버 변수 문서

quint32 QRhiStats::allocCount

벌칸 또는 D3D12 메모리 할당기에서 보고된 통계입니다.

QRhi::statistics()도 참조하세요 .

quint32 QRhiStats::blockCount

벌칸 또는 D3D12 메모리 할당기에서 보고된 통계입니다.

QRhi::statistics()도 참조하세요 .

qint64 QRhiStats::totalPipelineCreationTime

일반적으로 셰이더 컴파일 또는 캐시 조회와 잠재적으로 비용이 많이 드는 처리를 포함하는 그래픽 및 컴퓨팅 파이프라인 생성에 소요되는 총 시간(밀리초)입니다.

참고: "파이프라인"의 개념과 예를 들어 QRhiGraphicsPipeline::create()를 호출하는 동안 내부에서 정확히 어떤 일이 일어나는지는 그래픽 API와 그 구현에 따라 크게 다르므로 서로 다른 백엔드 간에 이 값을 비교해서는 안 됩니다.

QRhi::statistics()도 참조하세요 .

quint64 QRhiStats::totalUsageBytes

현재 D3D12 에서만 유효합니다. IDXGIAdapter3::QueryVideoMemoryInfo()와 일치합니다.

QRhi::statistics()도 참조하세요 .

quint64 QRhiStats::unusedBytes

벌칸 또는 D3D12 메모리 할당기에서 보고된 통계입니다.

QRhi::statistics()도 참조하세요 .

quint64 QRhiStats::usedBytes

벌칸 또는 D3D12 메모리 할당기에서 보고된 통계입니다.

QRhi::statistics()도 참조하세요 .

© 2025 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.