diff options
| author | Aurélien Brooke <aurelien@bahiasoft.fr> | 2024-12-24 11:12:26 +0100 |
|---|---|---|
| committer | Aurélien Brooke <aurelien@bahiasoft.fr> | 2025-03-11 17:01:13 +0100 |
| commit | dc033758a30db71631b61737010273a36e8fcaa3 (patch) | |
| tree | 64e2434c692e014dcc458fe51b7eaa8b95a90d5f /src/gui/opengl/qopenglprogrambinarycache.cpp | |
| parent | 57d91d8029064b592dee8adf819bde676763df28 (diff) | |
rhi: support partial region readbacks in QRhiReadbackDescription
Add a `rect` property to QRhiReadbackDescription, enabling users to
specify a sub-rectangle for texture or backbuffer readbacks. This is
particularly useful for scenarios where full texture readbacks are
unnecessary, like reading only one single pixel.
[ChangeLog][RHI] Added support for specifying a sub-rectangle for
readbacks in QRhiReadbackDescription. This allows partial texture or
backbuffer readbacks.
Change-Id: If7465e97bc90907442e2d2981826e1e26b0e4a50
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions
