java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QOpenGLTextureBlitter
- All Implemented Interfaces:
QtObjectInterface
public class QOpenGLTextureBlitter extends QtObject
Convenient way to draw textured quads via OpenGL
Java wrapper for Qt class QOpenGLTextureBlitter
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QOpenGLTextureBlitter.Origin
Java wrapper for Qt enum QOpenGLTextureBlitter::Origin -
Constructor Summary
Constructors Modifier Constructor Description QOpenGLTextureBlitter()
protected
QOpenGLTextureBlitter(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
bind()
Overloaded function forbind(int)
withtarget = 0x0DE1
.void
bind(int target)
void
blit(int texture, QMatrix4x4 targetTransform, QMatrix3x3 sourceTransform)
void
blit(int texture, QMatrix4x4 targetTransform, QOpenGLTextureBlitter.Origin sourceOrigin)
boolean
create()
void
destroy()
boolean
isCreated()
void
release()
void
setOpacity(float opacity)
void
setRedBlueSwizzle(boolean swizzle)
static QMatrix3x3
sourceTransform(QRectF subTexture, QSize textureSize, QOpenGLTextureBlitter.Origin origin)
boolean
supportsExternalOESTarget()
static QMatrix4x4
targetTransform(QRectF target, QRect viewport)
-
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
-
sourceTransform
public static QMatrix3x3 sourceTransform(QRectF subTexture, QSize textureSize, QOpenGLTextureBlitter.Origin origin) -
targetTransform
-