- class QTextureImageDataGenerator#
Provides texture image data for
QAbstractTextureImage
. More…Synopsis#
Virtual methods#
def
__call__()
def
__eq__()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
QTextureImageDataGenerator
is a data provider forQAbstractTexture
.QTextureImageDataGenerator
can be used to expand Qt3D with more ways to load texture image data as well as support user-defined formats and formats Qt3D does not natively support. The data is returned by theQTextureImageDataPtr
which contains the data that will be loaded to the texture.QTextureImageDataGenerator
is executed by Aspect jobs in the backend.- abstract __call__()#
- Return type:
QSharedPointer
Implement the method to return the texture image data.
- abstract __eq__(other)#
- Parameters:
other –
QTextureImageDataGenerator
- Return type:
bool
Implement the method to compare this texture data generator to
other
. Returns a boolean that indicates whether theQAbstractTextureImage
needs to reload theQTextureImageData
.