QTextureDataUpdate#

QTextureDataUpdate holds content and information required to perform partial updates of a texture content. More

Synopsis#

Functions#

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#

The actual data content is contained in a QTextureImageDataPtr member. Additional members allow to specify the x, y, z offset of the content update as well as the eventual layer, mipLevel and face.

See also

QAbstractTexture

class PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate#

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate(other)

Parameters:

otherPySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.data()#
Return type:

QSharedPointer

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.face()#
Return type:

CubeMapFace

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.layer()#
Return type:

int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.mipLevel()#
Return type:

int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.__ne__(rhs)#
Parameters:

rhsPySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate

Return type:

bool

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.__eq__(rhs)#
Parameters:

rhsPySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate

Return type:

bool

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setData(data)#
Parameters:

dataQSharedPointer

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setFace(face)#
Parameters:

faceCubeMapFace

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setLayer(layer)#
Parameters:

layer – int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setMipLevel(mipLevel)#
Parameters:

mipLevel – int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setX(x)#
Parameters:

x – int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setY(y)#
Parameters:

y – int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setZ(z)#
Parameters:

z – int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.swap(other)#
Parameters:

otherPySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.x()#
Return type:

int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.y()#
Return type:

int

PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.z()#
Return type:

int