Doc: add missing specs about parameters
qopengltexture.cpp:3476: warning: Undocumented parameter 'layerCount' in QOpenGLTexture::setCompressedData() and QOpenGLTexture::setData() qimage.cpp:2127: warning: Undocumented parameter 'format' in QImage::reinterpretAsFormat() Change-Id: I17feb2256a29f3bb722d2de3a83b390abff85a35 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
28ea26e574
commit
f26be29ea8
@ -2127,7 +2127,7 @@ QImage QImage::convertToFormat(Format format, const QVector<QRgb> &colorTable, Q
|
|||||||
/*!
|
/*!
|
||||||
\since 5.9
|
\since 5.9
|
||||||
|
|
||||||
Changes the format of the image without changing the data. Only
|
Changes the \a format of the image without changing the data. Only
|
||||||
works between formats of the same depth.
|
works between formats of the same depth.
|
||||||
|
|
||||||
Returns \c true if successful.
|
Returns \c true if successful.
|
||||||
|
@ -3302,6 +3302,9 @@ void QOpenGLTexture::setData(int mipLevel, int layer, CubeMapFace cubeFace,
|
|||||||
/*!
|
/*!
|
||||||
\since 5.9
|
\since 5.9
|
||||||
\overload
|
\overload
|
||||||
|
|
||||||
|
Parameter \a layerCount is the number of layers in a texture array
|
||||||
|
that are being uploaded/populated by this call.
|
||||||
*/
|
*/
|
||||||
void QOpenGLTexture::setData(int mipLevel, int layer, int layerCount, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options)
|
void QOpenGLTexture::setData(int mipLevel, int layer, int layerCount, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options)
|
||||||
{
|
{
|
||||||
@ -3476,6 +3479,9 @@ void QOpenGLTexture::setCompressedData(int mipLevel, int layer, CubeMapFace cube
|
|||||||
/*!
|
/*!
|
||||||
\since 5.9
|
\since 5.9
|
||||||
\overload
|
\overload
|
||||||
|
|
||||||
|
Parameter \a layerCount is the number of layers in a texture array
|
||||||
|
that are being uploaded/populated by this call.
|
||||||
*/
|
*/
|
||||||
void QOpenGLTexture::setCompressedData(int mipLevel, int layer, int layerCount, QOpenGLTexture::CubeMapFace cubeFace, int dataSize, const void *data, const QOpenGLPixelTransferOptions * const options)
|
void QOpenGLTexture::setCompressedData(int mipLevel, int layer, int layerCount, QOpenGLTexture::CubeMapFace cubeFace, int dataSize, const void *data, const QOpenGLPixelTransferOptions * const options)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user