Obsolete Members for QOpenGLTexture | Qt GUI 5.12.11

- Qt 5.12
- Qt GUI
- C++ Classes
- QOpenGLTexture
- Qt 5.12.11 Reference Documentation

# Obsolete Members for QOpenGLTexture

The following members of class QOpenGLTexture are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Public Functions

`(obsolete)` void | setCompressedData(int mipLevel, int layer, int dataSize, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)
`(obsolete)` void | setCompressedData(int mipLevel, int dataSize, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)
`(obsolete)` void | setCompressedData(int dataSize, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)
`(obsolete)` void | setCompressedData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, int dataSize, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)
`(obsolete)` void | setData(int mipLevel, int layer, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)
`(obsolete)` void | setData(int mipLevel, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)
`(obsolete)` void | setData(QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)
`(obsolete)` void | setData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

## Member Function Documentation

### void QOpenGLTexture::setCompressedData(int mipLevel, int layer, int dataSize, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

### void QOpenGLTexture::setCompressedData(int mipLevel, int dataSize, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

### void QOpenGLTexture::setCompressedData(int dataSize, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

### void QOpenGLTexture::setCompressedData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, int dataSize, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

### void QOpenGLTexture::setData(int mipLevel, int layer, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

### void QOpenGLTexture::setData(int mipLevel, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

### void QOpenGLTexture::setData(QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

### void QOpenGLTexture::setData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions *const options = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is an overloaded function.

See also setCompressedData().