java.lang.Object
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 enumQOpenGLTextureBlitter::Origin
-
Constructor Summary
-
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 void
blit
(int texture, QTransform targetTransform, QMatrix3x3 sourceTransform) Overloaded function forblit(int, io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix3x3)
.final void
blit
(int texture, QTransform targetTransform, QOpenGLTextureBlitter.Origin sourceOrigin) Overloaded function forblit(int, io.qt.gui.QMatrix4x4, io.qt.opengl.QOpenGLTextureBlitter.Origin)
.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) static QMatrix3x3
sourceTransform
(QRect subTexture, QSize textureSize, QOpenGLTextureBlitter.Origin origin) Overloaded function forsourceTransform(io.qt.core.QRectF, io.qt.core.QSize, io.qt.opengl.QOpenGLTextureBlitter.Origin)
.final boolean
final boolean
static QMatrix4x4
targetTransform
(QRectF target, QRect viewport) static QMatrix4x4
targetTransform
(QRect target, QRect viewport) Overloaded function fortargetTransform(io.qt.core.QRectF, io.qt.core.QRect)
.Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QOpenGLTextureBlitter
public QOpenGLTextureBlitter()
-
-
Method Details
-
bind
- Parameters:
target
-
-
blit
@QtUninvokable public final void blit(int texture, QMatrix4x4 targetTransform, QMatrix3x3 sourceTransform) - Parameters:
texture
-targetTransform
-sourceTransform
-
-
blit
@QtUninvokable public final void blit(int texture, QMatrix4x4 targetTransform, QOpenGLTextureBlitter.Origin sourceOrigin) - Parameters:
texture
-targetTransform
-sourceOrigin
-
-
create
- Returns:
-
destroy
-
isCreated
- Returns:
-
release
-
setOpacity
- Parameters:
opacity
-
-
setRedBlueSwizzle
- Parameters:
swizzle
-
-
supportsExternalOESTarget
- Returns:
-
supportsRectangleTarget
- Returns:
-
sourceTransform
public static QMatrix3x3 sourceTransform(QRectF subTexture, QSize textureSize, QOpenGLTextureBlitter.Origin origin) - Parameters:
subTexture
-textureSize
-origin
-- Returns:
-
targetTransform
- Parameters:
target
-viewport
-- Returns:
-
bind
Overloaded function for
bind(int)
withtarget = 0x0DE1
. -
blit
@QtUninvokable public final void blit(int texture, QTransform targetTransform, QMatrix3x3 sourceTransform) Overloaded function for
blit(int, io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix3x3)
. -
blit
@QtUninvokable public final void blit(int texture, QTransform targetTransform, QOpenGLTextureBlitter.Origin sourceOrigin) Overloaded function for
blit(int, io.qt.gui.QMatrix4x4, io.qt.opengl.QOpenGLTextureBlitter.Origin)
. -
sourceTransform
public static QMatrix3x3 sourceTransform(QRect subTexture, QSize textureSize, QOpenGLTextureBlitter.Origin origin) Overloaded function for
sourceTransform(io.qt.core.QRectF, io.qt.core.QSize, io.qt.opengl.QOpenGLTextureBlitter.Origin)
. -
targetTransform
Overloaded function for
targetTransform(io.qt.core.QRectF, io.qt.core.QRect)
.
-