Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 1722 of file qrhi.h.

Member Data Documentation

◆ completed

std::function<void()> QRhiReadbackResult::completed = nullptr

◆ data

◆ format

QRhiTexture::Format QRhiReadbackResult::format

Definition at line 1725 of file qrhi.h.

◆ pixelSize

QSize QRhiReadbackResult::pixelSize

Definition at line 1726 of file qrhi.h.


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