W3cubDocs

/Qt 5.11

QTextureGenerator Class

(Qt3DRender::QTextureGenerator)

Provides the image data for a texture. More...

Header: #include <QTextureGenerator>
qmake: QT += 3drender
Inherits: Qt3DRender::QAbstractFunctor

Public Functions

virtual ~QTextureGenerator()
virtual Qt3DRender::QTextureDataPtr operator()() = 0
virtual bool operator==(const Qt3DRender::QTextureGenerator &other) const = 0

Detailed Description

Provides the image data for a texture.

Member Function Documentation

[virtual] QTextureGenerator::~QTextureGenerator()

class Qt3DRender::QTextureGenerator

Generates the necessary information to create an OpenGL texture image.

[pure virtual] Qt3DRender::QTextureDataPtr QTextureGenerator::operator()()

Returns the texture data.

[pure virtual] bool QTextureGenerator::operator==(const Qt3DRender::QTextureGenerator &other) const

Compare these texture data to other. Returns true if both are equal.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qt3drender-qtexturegenerator.html