java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.opengl.QOpenGLTextureBlitter
- All Implemented Interfaces:
QtObjectInterface
Convenient way to draw textured quads via OpenGL
Java wrapper for Qt class QOpenGLTextureBlitter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QOpenGLTextureBlitter::OriginNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
bind()
Overloaded function forbind(int)
withtarget = 0x0DE1
.final void
bind
(int target) final void
blit
(int texture, QMatrix4x4 targetTransform, QMatrix3x3 sourceTransform) final void
blit
(int texture, QMatrix4x4 targetTransform, QOpenGLTextureBlitter.Origin sourceOrigin) final boolean
create()
final void
destroy()
final boolean
final void
release()
final void
setOpacity
(float opacity) final void
setRedBlueSwizzle
(boolean swizzle) static QMatrix3x3
sourceTransform
(QRectF subTexture, QSize textureSize, QOpenGLTextureBlitter.Origin origin) final boolean
final boolean
static QMatrix4x4
targetTransform
(QRectF target, QRect viewport) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QOpenGLTextureBlitter
public QOpenGLTextureBlitter() -
QOpenGLTextureBlitter
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bind
Overloaded function for
bind(int)
withtarget = 0x0DE1
. -
bind
-
blit
@QtUninvokable public final void blit(int texture, QMatrix4x4 targetTransform, QOpenGLTextureBlitter.Origin sourceOrigin) -
blit
@QtUninvokable public final void blit(int texture, QMatrix4x4 targetTransform, QMatrix3x3 sourceTransform) -
create
-
destroy
-
isCreated
-
release
-
setOpacity
-
setRedBlueSwizzle
-
supportsExternalOESTarget
-
supportsRectangleTarget
-
sourceTransform
public static QMatrix3x3 sourceTransform(QRectF subTexture, QSize textureSize, QOpenGLTextureBlitter.Origin origin) -
targetTransform
-