Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QRhiReadbackResult Class Reference

\inmodule QtGui More...

#include <qrhi.h>

+ Collaboration diagram for QRhiReadbackResult:

Public Attributes

std::function< void()> completed = nullptr
 
QRhiTexture::Format format
 
QSize pixelSize
 
QByteArray data
 

Detailed Description

\inmodule QtGui

Since
6.6

Describes the results of a potentially asynchronous buffer or texture readback operation.

When \l completed is set, the function is invoked when the \l data is available. \l format and \l pixelSize are set upon completion together with \l data.

Note
This is a RHI API with limited compatibility guarantees, see \l QRhi for details.

Definition at line 1685 of file qrhi.h.

Member Data Documentation

◆ completed

◆ data

◆ format

◆ pixelSize


The documentation for this class was generated from the following file: