java.lang.Object
io.qt.QtObject
io.qt.qt3d.render.QTextureData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Stores texture information such as the target, height, width, depth, layers, wrap, and if mipmaps are enabled
Java wrapper for Qt class Qt3DRender::QTextureData
- Since:
- This class was introduced in Qt 5.7.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addImageData
(QTextureImageData imageData) clone()
Creates and returns a copy of this object.final int
depth()
format()
final int
height()
final QVector<QTextureImageData>
final boolean
final int
layers()
final QAbstractTexture.Filter
final float
final QAbstractTexture.Filter
final void
setAutoMipMapGenerationEnabled
(boolean isAutoMipMapGenerationEnabled) final void
setComparisonFunction
(QAbstractTexture.ComparisonFunction comparisonFunction) final void
setComparisonMode
(QAbstractTexture.ComparisonMode comparisonMode) final void
setDepth
(int depth) final void
final void
setHeight
(int height) final void
setLayers
(int layers) final void
final void
setMaximumAnisotropy
(float maximumAnisotropy) final void
final void
setTarget
(QAbstractTexture.Target target) final void
setWidth
(int width) final void
setWrapModeX
(QTextureWrapMode.WrapMode wrapModeX) final void
setWrapModeY
(QTextureWrapMode.WrapMode wrapModeY) final void
setWrapModeZ
(QTextureWrapMode.WrapMode wrapModeZ) final QAbstractTexture.Target
target()
final int
width()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTextureData
public QTextureData() -
QTextureData
- Parameters:
other
-
-
-
Method Details
-
addImageData
- Parameters:
imageData
-
-
comparisonFunction
- Returns:
-
comparisonMode
- Returns:
-
depth
- Returns:
-
format
- Returns:
-
height
- Returns:
-
imageData
- Returns:
-
isAutoMipMapGenerationEnabled
- Returns:
-
layers
- Returns:
-
magnificationFilter
- Returns:
-
maximumAnisotropy
- Returns:
-
minificationFilter
- Returns:
-
setAutoMipMapGenerationEnabled
@QtUninvokable public final void setAutoMipMapGenerationEnabled(boolean isAutoMipMapGenerationEnabled) - Parameters:
isAutoMipMapGenerationEnabled
-
-
setComparisonFunction
@QtUninvokable public final void setComparisonFunction(QAbstractTexture.ComparisonFunction comparisonFunction) See
Qt3DRender::QTextureData::
setComparisonFunction(Qt3DRender::QAbstractTexture::ComparisonFunction) - Parameters:
comparisonFunction
-
-
setComparisonMode
- Parameters:
comparisonMode
-
-
setDepth
- Parameters:
depth
-
-
setFormat
- Parameters:
arg__1
-
-
setHeight
- Parameters:
height
-
-
setLayers
- Parameters:
layers
-
-
setMagnificationFilter
- Parameters:
filter
-
-
setMaximumAnisotropy
- Parameters:
maximumAnisotropy
-
-
setMinificationFilter
- Parameters:
filter
-
-
setTarget
- Parameters:
target
-
-
setWidth
- Parameters:
width
-
-
setWrapModeX
- Parameters:
wrapModeX
-
-
setWrapModeY
- Parameters:
wrapModeY
-
-
setWrapModeZ
- Parameters:
wrapModeZ
-
-
target
- Returns:
-
width
- Returns:
-
wrapModeX
- Returns:
-
wrapModeY
- Returns:
-
wrapModeZ
- Returns:
-
clone
Creates and returns a copy of this object.
See
Qt3DRender::QTextureData::
QTextureData(Qt3DRender::QTextureData)
-