class QTextureDataUpdate#

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

Synopsis#

Methods#

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

__init__(other)#
Parameters:

otherQTextureDataUpdate

__init__()
data()#
Return type:

QSharedPointer

face()#
Return type:

CubeMapFace

layer()#
Return type:

int

mipLevel()#
Return type:

int

__ne__(rhs)#
Parameters:

rhsQTextureDataUpdate

Return type:

bool

__eq__(rhs)#
Parameters:

rhsQTextureDataUpdate

Return type:

bool

setData(data)#
Parameters:

dataQSharedPointer

setFace(face)#
Parameters:

faceCubeMapFace

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:

otherQTextureDataUpdate

x()#
Return type:

int

y()#
Return type:

int

z()#
Return type:

int