Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRhiReadbackResult Class Reference

\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h 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 QtGuiPrivate \inheaderfile rhi/qrhi.h

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 1767 of file qrhi.h.

Member Data Documentation

◆ completed

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

Definition at line 1769 of file qrhi.h.

◆ data

QByteArray QRhiReadbackResult::data

Definition at line 1772 of file qrhi.h.

◆ format

QRhiTexture::Format QRhiReadbackResult::format

Definition at line 1770 of file qrhi.h.

◆ pixelSize

QSize QRhiReadbackResult::pixelSize

Definition at line 1771 of file qrhi.h.


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