TexImageData Class


Public Functions

void cleanup()
QByteArray data() const
int depth() const
QOpenGLTexture::TextureFormat format() const
int height() const
bool isCompressed() const
QOpenGLTexture::PixelFormat pixelFormat() const
QOpenGLTexture::PixelType pixelType() const
void setCompressedData(QByteArray data, QOpenGLTexture::PixelFormat fmt)
void setData(const QByteArray & data, QOpenGLTexture::PixelFormat fmt, QOpenGLTexture::PixelType ptype)
void setImage(const QImage &)
int width() const

Member Function Documentation



void TexImageData::cleanup()

QByteArray TexImageData::data() const

See also setData().

int TexImageData::depth() const

QOpenGLTexture::TextureFormat TexImageData::format() const

int TexImageData::height() const

bool TexImageData::isCompressed() const

QOpenGLTexture::PixelFormat TexImageData::pixelFormat() const

QOpenGLTexture::PixelType TexImageData::pixelType() const

void TexImageData::setCompressedData(QByteArray data, QOpenGLTexture::PixelFormat fmt)

void TexImageData::setData(const QByteArray & data, QOpenGLTexture::PixelFormat fmt, QOpenGLTexture::PixelType ptype)

See also data().

void TexImageData::setImage(const QImage &)

int TexImageData::width() const

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.