GLTexture Class
(Qt3DRender::Render::GLTexture)Public Types
class | Image |
Public Functions
GLTexture(TextureDataManager *texDataMgr, TextureImageDataManager *texImgDataMgr, const QTextureGeneratorPtr &texGen, bool unique) | |
~GLTexture() | |
void | destroyGLTexture() |
QOpenGLTexture * | getGLTexture() const |
QOpenGLTexture * | getOrCreateGLTexture() |
QVector<Image> | images() const |
bool | isDirty() |
bool | isUnique() const |
TextureParameters | parameters() const |
TextureProperties | properties() const |
void | requestUpload() |
QSize | size() const |
QTextureGeneratorPtr | textureGenerator() const |
QMutex * | textureLock() |
Protected Functions
void | setGenerator(const QTextureGeneratorPtr &generator) |
void | setImages(const QVector<Image> &images) |
void | setParameters(const TextureParameters ¶ms) |
void | setProperties(const TextureProperties &props) |
Member Function Documentation
GLTexture::GLTexture(TextureDataManager *texDataMgr, TextureImageDataManager *texImgDataMgr, const QTextureGeneratorPtr &texGen, bool unique)
Default constructs an instance of GLTexture.
GLTexture::~GLTexture()
Destroys the instance of GLTexture.
void GLTexture::destroyGLTexture()
QOpenGLTexture *GLTexture::getGLTexture() const
QOpenGLTexture *GLTexture::getOrCreateGLTexture()
QVector<Image> GLTexture::images() const
See also setImages().
bool GLTexture::isDirty()
bool GLTexture::isUnique() const
TextureParameters GLTexture::parameters() const
See also setParameters().
TextureProperties GLTexture::properties() const
See also setProperties().
void GLTexture::requestUpload()
[protected]
void GLTexture::setGenerator(const QTextureGeneratorPtr &generator)
[protected]
void GLTexture::setImages(const QVector<Image> &images)
See also images().
[protected]
void GLTexture::setParameters(const TextureParameters ¶ms)
See also parameters().
[protected]
void GLTexture::setProperties(const TextureProperties &props)
See also properties().