Obsolete Members for QOpenGLTexture | Qt GUI 5.9

Qt 5.9 | Qt GUI | C++ Classes | QOpenGLTexture

Qt 5.9.9 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 = Q_NULLPTR)
`(obsolete)` void | setCompressedData(int mipLevel, int dataSize, void *data, const QOpenGLPixelTransferOptions * const options = Q_NULLPTR)
`(obsolete)` void | setCompressedData(int dataSize, void *data, const QOpenGLPixelTransferOptions * const options = Q_NULLPTR)
`(obsolete)` void | setCompressedData(int mipLevel, int layer, CubeMapFace cubeFace, int dataSize, void *data, const QOpenGLPixelTransferOptions * const options = Q_NULLPTR)
`(obsolete)` void | setData(int mipLevel, int layer, PixelFormat sourceFormat, PixelType sourceType, void *data, const QOpenGLPixelTransferOptions * const options = Q_NULLPTR)
`(obsolete)` void | setData(int mipLevel, PixelFormat sourceFormat, PixelType sourceType, void *data, const QOpenGLPixelTransferOptions * const options = Q_NULLPTR)
`(obsolete)` void | setData(PixelFormat sourceFormat, PixelType sourceType, void *data, const QOpenGLPixelTransferOptions * const options = Q_NULLPTR)
`(obsolete)` void | setData(int mipLevel, int layer, CubeMapFace cubeFace, PixelFormat sourceFormat, PixelType sourceType, void *data, const QOpenGLPixelTransferOptions * const options = Q_NULLPTR)

## Member Function Documentation

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

This is an overloaded function.

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

This is an overloaded function.

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

This is an overloaded function.

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

This is an overloaded function.

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

This is an overloaded function.

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

This is an overloaded function.

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

This is an overloaded function.

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

This is an overloaded function.

See also setCompressedData().