PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate¶
- class QTextureDataUpdate¶
- QTextureDataUpdateholds content and information required to perform partial updates of a texture content.- Details- The actual data content is contained in a - QTextureImageDataPtrmember. 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- Synopsis¶- Methods¶- def - __init__()
- def - data()
- def - face()
- def - layer()
- def - mipLevel()
- def - __ne__()
- def - __eq__()
- def - setData()
- def - setFace()
- def - setLayer()
- def - setMipLevel()
- def - setX()
- def - setY()
- def - setZ()
- def - swap()
- def - x()
- def - y()
- def - z()
 - 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 - __init__()¶
 - __init__(other)
- Parameters:
- other – - QTextureDataUpdate
 
 - data()¶
- Return type:
- QSharedPointer
 
 - face()¶
- Return type:
- CubeMapFace
 
 - layer()¶
- Return type:
- int 
 
 - mipLevel()¶
- Return type:
- int 
 
 - __ne__(rhs)¶
- Parameters:
- rhs – - QTextureDataUpdate
- Return type:
- bool 
 
 - __eq__(rhs)¶
- Parameters:
- rhs – - QTextureDataUpdate
- Return type:
- bool 
 
 - setData(data)¶
- Parameters:
- data – - QSharedPointer
 
 - setFace(face)¶
- Parameters:
- face – - CubeMapFace
 
 - setLayer(layer)¶
- Parameters:
- layer – int 
 
 - setMipLevel(mipLevel)¶
- Parameters:
- mipLevel – int 
 
 - setX(x)¶
- Parameters:
- x – int 
 
 - setY(y)¶
- Parameters:
- y – int 
 
 - setZ(z)¶
- Parameters:
- z – int 
 
 - swap(other)¶
- Parameters:
- other – - QTextureDataUpdate
 
 - x()¶
- Return type:
- int 
 
 - y()¶
- Return type:
- int 
 
 - z()¶
- Return type:
- int