java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.qt3d.render.QTextureImageData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QTextureImageData extends QtObject implements Cloneable
Stores data representing a texture
Java wrapper for Qt class Qt3DRender::QTextureImageData
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QTextureImageData()
protected
QTextureImageData(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
cleanup()
QTextureImageData
clone()
QByteArray
data()
Overloaded function fordata(int, int, int)
QByteArray
data(int layer)
Overloaded function fordata(int, int, int)
QByteArray
data(int layer, int face)
Overloaded function fordata(int, int, int)
withmipmapLevel = 0
.QByteArray
data(int layer, int face, int mipmapLevel)
int
depth()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
faces()
QOpenGLTexture.TextureFormat
format()
int
hashCode()
int
height()
boolean
isCompressed()
int
layers()
int
mipLevels()
QOpenGLTexture.PixelFormat
pixelFormat()
QOpenGLTexture.PixelType
pixelType()
void
setData(QByteArray data, int blockSize)
Overloaded function forsetData(io.qt.core.QByteArray, int, boolean)
withisCompressed = false
.void
setData(QByteArray data, int blockSize, boolean isCompressed)
void
setDepth(int depth)
void
setFaces(int faces)
void
setFormat(QOpenGLTexture.TextureFormat format)
void
setHeight(int height)
void
setImage(QImage arg__1)
void
setLayers(int layers)
void
setMipLevels(int mipLevels)
void
setPixelFormat(QOpenGLTexture.PixelFormat pixelFormat)
void
setPixelType(QOpenGLTexture.PixelType pixelType)
void
setTarget(QOpenGLTexture.Target target)
void
setWidth(int width)
QOpenGLTexture.Target
target()
int
width()
-
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
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-