java.lang.Object
io.qt.QtObject
io.qt.qt3d.render.QTextureImageData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Stores data representing a texture
Java wrapper for Qt class Qt3DRender::QTextureImageData
- Since:
- This class was introduced in Qt 5.5.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QTextureImageData other) SeeQt3DRender::QTextureImageData::
operator=(Qt3DRender::QTextureImageData) final void
cleanup()
clone()
Creates and returns a copy of this object.final QByteArray
data()
Overloaded function fordata(int, int, int)
final QByteArray
data
(int layer) Overloaded function fordata(int, int, int)
final QByteArray
data
(int layer, int face) Overloaded function fordata(int, int, int)
withmipmapLevel = 0
.final QByteArray
data
(int layer, int face, int mipmapLevel) final int
depth()
boolean
Checks for equality by checking object's hash code.final int
faces()
format()
int
hashCode()
Returns the objects's hash code computed byqHash(Qt3DRender::QTextureImageData)
.final int
height()
final boolean
final int
layers()
final int
final QOpenGLTexture.PixelType
final void
setData
(byte [] data, int blockSize) Overloaded function forsetData(byte[], int, boolean)
withisCompressed = false
.final void
setData
(byte [] data, int blockSize, boolean isCompressed) Overloaded function forsetData(io.qt.core.QByteArray, int, boolean)
.final void
setData
(QByteArray data, int blockSize) Overloaded function forsetData(io.qt.core.QByteArray, int, boolean)
withisCompressed = false
.final void
setData
(QByteArray data, int blockSize, boolean isCompressed) final void
setDepth
(int depth) final void
setFaces
(int faces) final void
final void
setHeight
(int height) final void
final void
setLayers
(int layers) final void
setMipLevels
(int mipLevels) final void
setPixelFormat
(QOpenGLTexture.PixelFormat pixelFormat) final void
setPixelType
(QOpenGLTexture.PixelType pixelType) final void
setTarget
(QOpenGLTexture.Target target) final void
setWidth
(int width) final QOpenGLTexture.Target
target()
final int
width()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextureImageData
public QTextureImageData() -
QTextureImageData
- Parameters:
other
-
-
-
Method Details
-
cleanup
-
data
- Parameters:
layer
-face
-mipmapLevel
-- Returns:
-
depth
- Returns:
-
faces
- Returns:
-
format
- Returns:
-
height
- Returns:
-
isCompressed
- Returns:
-
layers
- Returns:
-
mipLevels
- Returns:
-
assign
See
Qt3DRender::QTextureImageData::
operator=(Qt3DRender::QTextureImageData) - Parameters:
other
-
-
pixelFormat
- Returns:
-
pixelType
- Returns:
-
setData
- Parameters:
data
-blockSize
-isCompressed
-
-
setDepth
- Parameters:
depth
-
-
setFaces
- Parameters:
faces
-
-
setFormat
- Parameters:
format
-
-
setHeight
- Parameters:
height
-
-
setImage
- Parameters:
arg__1
-
-
setLayers
- Parameters:
layers
-
-
setMipLevels
- Parameters:
mipLevels
-
-
setPixelFormat
- Parameters:
pixelFormat
-
-
setPixelType
- Parameters:
pixelType
-
-
setTarget
- Parameters:
target
-
-
setWidth
- Parameters:
width
-
-
target
- Returns:
-
width
- Returns:
-
equals
Checks for equality by checking object's hash code. -
hashCode
Returns the objects's hash code computed byqHash(Qt3DRender::QTextureImageData)
. -
clone
Creates and returns a copy of this object.
See
Qt3DRender::QTextureImageData::
QTextureImageData(Qt3DRender::QTextureImageData) -
data
Overloaded function for
data(int, int, int)
withmipmapLevel = 0
. -
data
-
data
-
setData
Overloaded function for
setData(io.qt.core.QByteArray, int, boolean)
withisCompressed = false
. -
setData
Overloaded function for
setData(byte[], int, boolean)
withisCompressed = false
. -
setData
Overloaded function for
setData(io.qt.core.QByteArray, int, boolean)
.
-