QRhiReadbackResult 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부터 |
공개 변수
상세 설명
completed 가 설정된 경우, data 가 사용 가능해지면 해당 함수가 호출됩니다. format 및 pixelSize 는 data 와 함께 완료 시 설정됩니다.
참고: 이는 호환성 보장이 제한적인 RHI API입니다. 자세한 내용은 QRhi 를 참조하십시오.
멤버 변수 문서
std::function<void ()> QRhiReadbackResult::completed
작업이 완료되면 ` QRhi `이 실행되는 스레드에서 호출되는 콜백입니다. ` nullptr`로 설정해 둘 수 있으며, 이 경우 콜백은 호출되지 않습니다.
QByteArray QRhiReadbackResult::data
버퍼 또는 이미지 데이터.
QRhiResourceUpdateBatch::readBackTexture() 및 QRhiResourceUpdateBatch::readBackBuffer()도 참조하십시오 .
QRhiTexture::Format QRhiReadbackResult::format
텍스처에만 적용되며, 텍스처 형식입니다.
QSize QRhiReadbackResult::pixelSize
텍스처에만 적용되며, 크기는 픽셀 단위입니다.
© 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.