内容表

上一话题

Qt3DRender.QTextureImageData

下一话题

Qt3DRender.QTextureLoader

Qt3DRender.QTextureImageDataGenerator

Provides texture image data for QAbstractTextureImage . 更多

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QTextureImageDataGenerator

详细描述

QTextureImageDataGenerator is a data provider for QAbstractTexture . 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 the QTextureImageDataPtr which contains the data that will be loaded to the texture. QTextureImageDataGenerator is 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 .