QAbstractFunctor is an abstract base class for all functors. More

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QAbstractFunctor

Inherited by: QBufferDataGenerator, QGeometryFactory, QTextureGenerator, QTextureImageDataGenerator

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 id() method, which should be done using the QT3D_FUNCTOR macro in the class definition.

class PySide2.Qt3DRender.Qt3DRender.QAbstractFunctor


This constructor is deprecated.
Return type:


Returns a pointer to the id of the functor.