- All Implemented Interfaces:
QtObjectInterface
public class QOpenGLTexture extends QtObject
Encapsulates an OpenGL texture object
Java wrapper for Qt class QOpenGLTexture
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QOpenGLTexture(QImage image)
Overloaded constructor forQOpenGLTexture(io.qt.gui.QImage, io.qt.opengl.QOpenGLTexture.MipMapGeneration)
withgenMipMaps = io.qt.opengl.QOpenGLTexture.MipMapGeneration.GenerateMipMaps
.QOpenGLTexture(QImage image, QOpenGLTexture.MipMapGeneration genMipMaps)
QOpenGLTexture(QOpenGLTexture.Target target)
protected
QOpenGLTexture(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QOpenGLTexture
-
QOpenGLTexture
Overloaded constructor for
QOpenGLTexture(io.qt.gui.QImage, io.qt.opengl.QOpenGLTexture.MipMapGeneration)
withgenMipMaps = io.qt.opengl.QOpenGLTexture.MipMapGeneration.GenerateMipMaps
. -
QOpenGLTexture
-
QOpenGLTexture
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
allocateStorage
-
allocateStorage
@QtUninvokable public final void allocateStorage(QOpenGLTexture.PixelFormat pixelFormat, QOpenGLTexture.PixelType pixelType) -
bind
-
bind
Overloaded function for
bind(int, io.qt.opengl.QOpenGLTexture.TextureUnitReset)
withreset = io.qt.opengl.QOpenGLTexture.TextureUnitReset.DontResetTextureUnit
. -
bind
-
borderColor
-
comparisonFunction
-
comparisonMode
-
create
-
createTextureView
@QtUninvokable public final QOpenGLTexture createTextureView(QOpenGLTexture.Target target, QOpenGLTexture.TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) -
depth
-
depthStencilMode
-
destroy
-
faces
-
format
-
generateMipMaps
-
generateMipMaps
Overloaded function for
generateMipMaps(int, boolean)
withresetBaseLevel = true
. -
generateMipMaps
-
height
-
isAutoMipMapGenerationEnabled
-
isBound
-
isBound
-
isCreated
-
isFixedSamplePositions
-
isStorageAllocated
-
isTextureView
-
layers
-
levelOfDetailRange
-
levelofDetailBias
-
magnificationFilter
-
maximumAnisotropy
-
maximumLevelOfDetail
-
maximumMipLevels
-
minMagFilters
-
minificationFilter
-
minimumLevelOfDetail
-
mipBaseLevel
-
mipLevelRange
-
mipLevels
-
mipMaxLevel
-
release
-
release
Overloaded function for
release(int, io.qt.opengl.QOpenGLTexture.TextureUnitReset)
withreset = io.qt.opengl.QOpenGLTexture.TextureUnitReset.DontResetTextureUnit
. -
release
-
samples
-
setAutoMipMapGenerationEnabled
-
setBorderColor
-
setBorderColor
-
setBorderColor
-
setComparisonFunction
-
setComparisonMode
-
setCompressedData
Overloaded function for
setCompressedData(int, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setCompressedData
@QtUninvokable public final void setCompressedData(int dataSize, Buffer data, QOpenGLPixelTransferOptions options) -
setCompressedData
Overloaded function for
setCompressedData(int, int, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setCompressedData
@QtUninvokable public final void setCompressedData(int mipLevel, int dataSize, Buffer data, QOpenGLPixelTransferOptions options) -
setCompressedData
@QtUninvokable public final void setCompressedData(int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, int dataSize, Buffer data)Overloaded function for
setCompressedData(int, int, io.qt.opengl.QOpenGLTexture.CubeMapFace, int, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setCompressedData
@QtUninvokable public final void setCompressedData(int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, int dataSize, Buffer data, QOpenGLPixelTransferOptions options) -
setCompressedData
@QtUninvokable public final void setCompressedData(int mipLevel, int layer, int dataSize, Buffer data)Overloaded function for
setCompressedData(int, int, int, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setCompressedData
@QtUninvokable public final void setCompressedData(int mipLevel, int layer, int dataSize, Buffer data, QOpenGLPixelTransferOptions options) -
setCompressedData
@QtUninvokable public final void setCompressedData(int mipLevel, int layer, int layerCount, QOpenGLTexture.CubeMapFace cubeFace, int dataSize, Buffer data)Overloaded function for
setCompressedData(int, int, int, io.qt.opengl.QOpenGLTexture.CubeMapFace, int, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setCompressedData
@QtUninvokable public final void setCompressedData(int mipLevel, int layer, int layerCount, QOpenGLTexture.CubeMapFace cubeFace, int dataSize, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data)Overloaded function for
setData(io.qt.opengl.QOpenGLTexture.PixelFormat, io.qt.opengl.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setData
@QtUninvokable public final void setData(QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
Overloaded function for
setData(io.qt.gui.QImage, io.qt.opengl.QOpenGLTexture.MipMapGeneration)
withgenMipMaps = io.qt.opengl.QOpenGLTexture.MipMapGeneration.GenerateMipMaps
. -
setData
-
setData
@QtUninvokable public final void setData(int mipLevel, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data)Overloaded function for
setData(int, io.qt.opengl.QOpenGLTexture.PixelFormat, io.qt.opengl.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setData
@QtUninvokable public final void setData(int mipLevel, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data) -
setData
@QtUninvokable public final void setData(int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(int mipLevel, int layer, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data)Overloaded function for
setData(int, int, io.qt.opengl.QOpenGLTexture.PixelFormat, io.qt.opengl.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setData
@QtUninvokable public final void setData(int mipLevel, int layer, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(int mipLevel, int layer, int layerCount, QOpenGLTexture.CubeMapFace cubeFace, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data) -
setData
@QtUninvokable public final void setData(int mipLevel, int layer, int layerCount, QOpenGLTexture.CubeMapFace cubeFace, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data)Overloaded function for
setData(int, int, int, int, int, int, io.qt.opengl.QOpenGLTexture.PixelFormat, io.qt.opengl.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.opengl.QOpenGLPixelTransferOptions)
withoptions = null
. -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, int layerCount, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, int layerCount, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data) -
setData
@QtUninvokable public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, Buffer data, QOpenGLPixelTransferOptions options) -
setDepthStencilMode
-
setFixedSamplePositions
-
setFormat
-
setLayers
-
setLevelOfDetailRange
-
setLevelofDetailBias
-
setMagnificationFilter
-
setMaximumAnisotropy
-
setMaximumLevelOfDetail
-
setMinMagFilters
@QtUninvokable public final void setMinMagFilters(QOpenGLTexture.Filter minificationFilter, QOpenGLTexture.Filter magnificationFilter) -
setMinificationFilter
-
setMinimumLevelOfDetail
-
setMipBaseLevel
-
setMipLevelRange
-
setMipLevels
-
setMipMaxLevel
-
setSamples
-
setSize
Overloaded function for
setSize(int, int, int)
withdepth = 1
. -
setSize
-
setSize
-
setSwizzleMask
@QtUninvokable public final void setSwizzleMask(QOpenGLTexture.SwizzleComponent component, QOpenGLTexture.SwizzleValue value) -
setSwizzleMask
@QtUninvokable public final void setSwizzleMask(QOpenGLTexture.SwizzleValue r, QOpenGLTexture.SwizzleValue g, QOpenGLTexture.SwizzleValue b, QOpenGLTexture.SwizzleValue a) -
setWrapMode
@QtUninvokable public final void setWrapMode(QOpenGLTexture.CoordinateDirection direction, QOpenGLTexture.WrapMode mode) -
setWrapMode
-
swizzleMask
@QtUninvokable public final QOpenGLTexture.SwizzleValue swizzleMask(QOpenGLTexture.SwizzleComponent component) -
target
-
textureId
-
width
-
wrapMode
@QtUninvokable public final QOpenGLTexture.WrapMode wrapMode(QOpenGLTexture.CoordinateDirection direction) -
boundTextureId
-
boundTextureId
-
hasFeature
-
toString
-