Improve description of QRhiTextureSubresourceUploadDescription::setImage

The format of QImage is not considered upon texture loading,
it should be documented.

Pick-to: 6.7 6.6 6.5
Change-Id: I795c8a82a71ecdba5407f7e4ce940f7d538ff924
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
This commit is contained in:
Artem Dyomin 2024-02-06 14:25:03 +01:00
parent 3f31290880
commit f2957e4633

View File

@ -2751,6 +2751,7 @@ QRhiTextureSubresourceUploadDescription::QRhiTextureSubresourceUploadDescription
\fn void QRhiTextureSubresourceUploadDescription::setImage(const QImage &image) \fn void QRhiTextureSubresourceUploadDescription::setImage(const QImage &image)
Sets \a image. Sets \a image.
Upon textures loading, the image data will be read as is, with no formats conversions.
\note image() and data() cannot be both set at the same time. \note image() and data() cannot be both set at the same time.
*/ */