QAbstractFunctor Class
(Qt3DRender::QAbstractFunctor)QAbstractFunctor is an abstract base class for all functors. More...
| Header: | #include <QAbstractFunctor> |
| qmake: | QT += 3drender |
| Since: | Qt 5.7 |
| Inherited By: | Qt3DRender::QBufferDataGenerator and Qt3DRender::QTextureImageDataGenerator |
This class was introduced in Qt 5.7.
Public Functions
| virtual | ~QAbstractFunctor() |
Macros
| QT3D_FUNCTOR(Class) |
Detailed Description
The QAbstractFunctor is used as a base class for all functors and data generators in Qt3DRender module.
When user defines a new functor or generator, they need to implement the QAbstractFunctor::id() method, which should be done using the QT3D_FUNCTOR macro in the class definition.