java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QRhiReadbackResult
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the results of a potentially asynchronous buffer or texture readback operation
Java wrapper for Qt class QRhiReadbackResult
- Since:
- This class was introduced in Qt 6.6.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt callablestd::function<void()>
-
Constructor Summary
ConstructorDescriptionSeeQRhiReadbackResult::
QRhiReadbackResult() SeeQRhiReadbackResult::
QRhiReadbackResult(QRhiReadbackResult) QRhiReadbackResult
(QRhiReadbackResult.CompletedFunction completed, QRhiTexture.Format format, QSize pixelSize, byte [] data) QRhiReadbackResult
(QRhiReadbackResult.CompletedFunction completed, QRhiTexture.Format format, QSize pixelSize, QByteArray data) SeeQRhiReadbackResult::
QRhiReadbackResult{std::function<void{}>, QRhiTexture::Format, QSize, QByteArray} -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QByteArray
data()
final QRhiTexture.Format
format()
final QSize
final void
setCompleted
(QRhiReadbackResult.CompletedFunction completed) final void
setData
(byte [] data) Overloaded function forsetData(io.qt.core.QByteArray)
.final void
setData
(QByteArray data) final void
setFormat
(QRhiTexture.Format format) final void
setPixelSize
(QSize pixelSize) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QRhiReadbackResult
public QRhiReadbackResult()See
QRhiReadbackResult::
QRhiReadbackResult() -
QRhiReadbackResult
See
QRhiReadbackResult::
QRhiReadbackResult(QRhiReadbackResult) - Parameters:
other
-
-
QRhiReadbackResult
public QRhiReadbackResult(QRhiReadbackResult.CompletedFunction completed, QRhiTexture.Format format, QSize pixelSize, QByteArray data) See
QRhiReadbackResult::
QRhiReadbackResult{std::function<void{}>, QRhiTexture::Format, QSize, QByteArray} - Parameters:
completed
-format
-pixelSize
-data
-
-
QRhiReadbackResult
public QRhiReadbackResult(QRhiReadbackResult.CompletedFunction completed, QRhiTexture.Format format, QSize pixelSize, byte [] data)
-
-
Method Details
-
setCompleted
- Parameters:
completed
-
-
completed
- Returns:
-
setData
- Parameters:
data
-
-
data
- Returns:
-
setFormat
- Parameters:
format
-
-
format
- Returns:
-
setPixelSize
- Parameters:
pixelSize
-
-
pixelSize
- Returns:
-
clone
Creates and returns a copy of this object.
See
QRhiReadbackResult::
QRhiReadbackResult(QRhiReadbackResult) -
setData
Overloaded function for
setData(io.qt.core.QByteArray)
.
-