Describes the results of a potentially asynchronous buffer or texture readback operation. More...
| Header: | #include <rhi/qrhi.h>
|
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
|
| qmake: | QT += gui-private
|
| Since: | Qt 6.6 |
When completed is set, the function is invoked when the data is available. format and pixelSize are set upon completion together with data.
Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.
Callback that is invoked upon completion, on the thread the QRhi operates on. Can be left set to nullptr, in which case no callback is invoked.
The buffer or image data.
See also QRhiResourceUpdateBatch::readBackTexture() and QRhiResourceUpdateBatch::readBackBuffer().
Valid only for textures, the texture format.
Valid only for textures, the size in pixels.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qrhireadbackresult.html