QTextureDataUpdate¶
QTextureDataUpdate
holds content and information required to perform partial updates of a texture content. More…
Synopsis¶
Functions¶
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
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.data()¶
- Return type
QSharedPointer
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.face()¶
- Return type
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.layer()¶
- Return type
int
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.mipLevel()¶
- Return type
int
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setData(data)¶
- Parameters
data –
QSharedPointer
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.setFace(face)¶
- Parameters
face –
CubeMapFace
- 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
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.x()¶
- Return type
int
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.y()¶
- Return type
int
- PySide6.Qt3DRender.Qt3DRender.QTextureDataUpdate.z()¶
- Return type
int
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.