Texture Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | Texture

Qt 5.6.2 Reference Documentation

# Texture Class

(Qt3DRender::Render::Texture)

Inherits: | Qt3DCore::QBackendNode

- List of all members, including inherited members

## Public Functions

| Texture()
| ~Texture()
void | addTextureImageData(HTextureImage handle)
void | addToPendingTextureJobs()
void | cleanup()
TextureDNA | dna() const
QAbstractTextureProvider::TextureFormat | format() const
QOpenGLTexture * | getOrCreateGLTexture()
bool | isTextureReset() const
void | removeTextureImageData(HTextureImage handle)
void | requestTextureDataUpdate()
void | sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)
void | setFormat(QAbstractTextureProvider::TextureFormat format)
void | setSize(int width, int height, int depth)
void | setTextureDataManager(TextureDataManager *manager)
void | setTextureImageManager(TextureImageManager *manager)
void | setTextureManager(TextureManager *manager)
GLint | textureId()
QVector<HTextureImage> | textureImages() const
void | updateAndLoadTextureImage()
void | updateFromPeer(Qt3DCore::QNode *peer)

- 5 public functions inherited from Qt3DCore::QBackendNode

### Additional Inherited Members

- 3 protected functions inherited from Qt3DCore::QBackendNode

## Member Function Documentation

### Texture::Texture()

Default constructs an instance of Texture.

### Texture::~Texture()

Destroys the instance of Texture.

### void Texture::addTextureImageData(HTextureImage handle)

### void Texture::addToPendingTextureJobs()

### void Texture::cleanup()

### TextureDNA Texture::dna() const

### QAbstractTextureProvider::TextureFormat Texture::format() const

See also setFormat().

### QOpenGLTexture *Texture::getOrCreateGLTexture()

### bool Texture::isTextureReset() const

### void Texture::removeTextureImageData(HTextureImage handle)

### void Texture::requestTextureDataUpdate()

### void Texture::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)

### void Texture::setFormat(QAbstractTextureProvider::TextureFormat format)

See also format().

### void Texture::setSize(int width, int height, int depth)

### void Texture::setTextureDataManager(TextureDataManager *manager)

### void Texture::setTextureImageManager(TextureImageManager *manager)

### void Texture::setTextureManager(TextureManager *manager)

### GLint Texture::textureId()

### QVector<HTextureImage> Texture::textureImages() const

### void Texture::updateAndLoadTextureImage()

### void Texture::updateFromPeer(Qt3DCore::QNode *peer)