java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QRhiTextureSubresourceUploadDescription
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the source for one mip level in a layer in a texture upload operation
Java wrapper for Qt class QRhiTextureSubresourceUploadDescription
- Since:
- This class was introduced in Qt 6.6.
-
Constructor Summary
ConstructorDescriptionQRhiTextureSubresourceUploadDescription
(byte [] data) Overloaded constructor forQRhiTextureSubresourceUploadDescription(io.qt.core.QByteArray)
.SeeQRhiTextureSubresourceUploadDescription::
QRhiTextureSubresourceUploadDescription(QRhiTextureSubresourceUploadDescription) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QByteArray
data()
final int
final QPoint
final QImage
image()
final void
setData
(byte [] data) Overloaded function forsetData(io.qt.core.QByteArray)
.final void
setData
(QByteArray data) final void
setDataStride
(int stride) final void
final void
final void
setSourceSize
(QSize size) final void
final QSize
final QPoint
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QRhiTextureSubresourceUploadDescription
public QRhiTextureSubresourceUploadDescription() -
QRhiTextureSubresourceUploadDescription
- Parameters:
data
-
-
QRhiTextureSubresourceUploadDescription
- Parameters:
image
-
-
QRhiTextureSubresourceUploadDescription
See
QRhiTextureSubresourceUploadDescription::
QRhiTextureSubresourceUploadDescription(QRhiTextureSubresourceUploadDescription) - Parameters:
other
-
-
QRhiTextureSubresourceUploadDescription
- Parameters:
data
-
-
QRhiTextureSubresourceUploadDescription
public QRhiTextureSubresourceUploadDescription(byte [] data) Overloaded constructor for
QRhiTextureSubresourceUploadDescription(io.qt.core.QByteArray)
.
-
-
Method Details
-
data
- Returns:
-
dataStride
- Returns:
-
destinationTopLeft
- Returns:
-
image
- Returns:
-
setData
- Parameters:
data
-
-
setDataStride
- Parameters:
stride
-
-
setDestinationTopLeft
- Parameters:
p
-
-
setImage
- Parameters:
image
-
-
setSourceSize
- Parameters:
size
-
-
setSourceTopLeft
- Parameters:
p
-
-
sourceSize
- Returns:
-
sourceTopLeft
- Returns:
-
clone
Creates and returns a copy of this object.
See
QRhiTextureSubresourceUploadDescription::
QRhiTextureSubresourceUploadDescription(QRhiTextureSubresourceUploadDescription) -
setData
Overloaded function for
setData(io.qt.core.QByteArray)
.
-