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's class Qt3DRender::QTextureImageData
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QTextureImageData other) final void
cleanup()
clone()
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
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final int
faces()
format()
int
hashCode()
final int
height()
final boolean
final int
layers()
final int
final QOpenGLTexture.PixelType
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
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
cleanup
-
data
Overloaded function for
data(int, int, int)
withmipmapLevel = 0
. -
data
-
data
-
data
-
depth
-
faces
-
format
-
height
-
isCompressed
-
layers
-
mipLevels
-
assign
-
pixelFormat
-
pixelType
-
setData
Overloaded function for
setData(io.qt.core.QByteArray, int, boolean)
withisCompressed = false
. -
setData
-
setDepth
-
setFaces
-
setFormat
-
setHeight
-
setImage
-
setLayers
-
setMipLevels
-
setPixelFormat
-
setPixelType
-
setTarget
-
setWidth
-
target
-
width
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-