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.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: