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
-
Constructor Summary
-
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()
-
-
Method Details
-
cleanup
-
data
-
depth
-
faces
-
format
-
height
-
isCompressed
-
layers
-
mipLevels
-
assign
See
Qt3DRender::QTextureImageData::
operator=(Qt3DRender::QTextureImageData) -
pixelFormat
-
pixelType
-
setData
-
setDepth
-
setFaces
-
setFormat
-
setHeight
-
setImage
-
setLayers
-
setMipLevels
-
setPixelFormat
-
setPixelType
-
setTarget
-
setWidth
-
target
-
width
-
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.
-
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)
.
-