Provides texture image data for
QAbstractTextureImage. 更多 …
QTextureImageDataGeneratoris a data provider forQAbstractTexture.QTextureImageDataGeneratorcan 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 theQTextureImageDataPtrwhich contains the data that will be loaded to the texture.QTextureImageDataGeneratoris executed by Aspect jobs in the backend.
PySide2.Qt3DRender.Qt3DRender.QTextureImageDataGenerator.
operator
(
)(
)
¶
QSharedPointer
Implement the method to return the texture image data.
PySide2.Qt3DRender.Qt3DRender.QTextureImageDataGenerator.
__eq__
(
other
)
¶
other
–
QTextureImageDataGenerator
bool
Implement the method to compare this texture data generator to
other
. Returns a boolean that indicates whether the
QAbstractTextureImage
needs to reload the
QTextureImageData
.