java.lang.Object
io.qt.internal.NativeUtility.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
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt function pointer std::function<QByteArray(QByteArray,int,int,int)>Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
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
setAlignment
(int alignment) 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
setData
(QByteArray data, QTextureImageData.DataConverter arg__2) Overloaded function forsetData(io.qt.core.QByteArray, io.qt.qt3d.render.QTextureImageData.DataConverter, boolean)
withisCompressed = false
.final void
setData
(QByteArray data, QTextureImageData.DataConverter arg__2, 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
-
alignment
-
cleanup
-
data
Overloaded function for
data(int, int, int)
withmipmapLevel = 0
. -
data
-
data
-
data
-
depth
-
faces
-
format
-
height
-
isCompressed
-
layers
-
mipLevels
-
pixelFormat
-
pixelType
-
setAlignment
-
setData
Overloaded function for
setData(io.qt.core.QByteArray, int, boolean)
withisCompressed = false
. -
setData
-
setData
Overloaded function for
setData(io.qt.core.QByteArray, io.qt.qt3d.render.QTextureImageData.DataConverter, boolean)
withisCompressed = false
. -
setData
@QtUninvokable public final void setData(QByteArray data, QTextureImageData.DataConverter arg__2, boolean isCompressed) -
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
-