- All Implemented Interfaces:
QtObjectInterface
Encapsulates an OpenGL framebuffer object
Java wrapper for Qt class QOpenGLFramebufferObject
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQOpenGLFramebufferObject::Attachment
static enum
Java wrapper for Qt enumQOpenGLFramebufferObject::FramebufferRestorePolicy
-
Constructor Summary
ConstructorDescriptionQOpenGLFramebufferObject
(int width, int height) Overloaded constructor forQOpenGLFramebufferObject(int, int, int)
withtarget = 0x0DE1
.QOpenGLFramebufferObject
(int width, int height, int target) QOpenGLFramebufferObject
(int width, int height, QOpenGLFramebufferObjectFormat format) QOpenGLFramebufferObject
(int width, int height, QOpenGLFramebufferObject.Attachment attachment) Overloaded constructor forQOpenGLFramebufferObject(int, int, io.qt.opengl.QOpenGLFramebufferObject.Attachment, int, int)
QOpenGLFramebufferObject
(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target) Overloaded constructor forQOpenGLFramebufferObject(int, int, io.qt.opengl.QOpenGLFramebufferObject.Attachment, int, int)
withinternalFormat = 0
.QOpenGLFramebufferObject
(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target, int internalFormat) Overloaded constructor forQOpenGLFramebufferObject(io.qt.core.QSize, int)
withtarget = 0x0DE1
.QOpenGLFramebufferObject
(QSize size, int target) QOpenGLFramebufferObject
(QSize size, QOpenGLFramebufferObjectFormat format) QOpenGLFramebufferObject
(QSize size, QOpenGLFramebufferObject.Attachment attachment) Overloaded constructor forQOpenGLFramebufferObject(io.qt.core.QSize, io.qt.opengl.QOpenGLFramebufferObject.Attachment, int, int)
QOpenGLFramebufferObject
(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target) Overloaded constructor forQOpenGLFramebufferObject(io.qt.core.QSize, io.qt.opengl.QOpenGLFramebufferObject.Attachment, int, int)
withinternalFormat = 0
.QOpenGLFramebufferObject
(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target, int internalFormat) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addColorAttachment
(int width, int height) Overloaded function foraddColorAttachment(int, int, int)
withinternalFormat = 0
.final void
addColorAttachment
(int width, int height, int internalFormat) final void
addColorAttachment
(QSize size) Overloaded function foraddColorAttachment(io.qt.core.QSize, int)
withinternalFormat = 0
.final void
addColorAttachment
(QSize size, int internalFormat) final boolean
bind()
static boolean
static void
blitFramebuffer
(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect) static void
blitFramebuffer
(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers) Overloaded function forblitFramebuffer(io.qt.opengl.QOpenGLFramebufferObject, io.qt.core.QRect, io.qt.opengl.QOpenGLFramebufferObject, io.qt.core.QRect, int, int)
withfilter = 0x2600
.static void
blitFramebuffer
(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers, int filter) static void
blitFramebuffer
(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers, int filter, int readColorAttachmentIndex, int drawColorAttachmentIndex) static void
blitFramebuffer
(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers, int filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject.FramebufferRestorePolicy restorePolicy) static void
blitFramebuffer
(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source) static void
blitFramebuffer
(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source, int buffers) Overloaded function forblitFramebuffer(io.qt.opengl.QOpenGLFramebufferObject, io.qt.opengl.QOpenGLFramebufferObject, int, int)
withfilter = 0x2600
.static void
blitFramebuffer
(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source, int buffers, int filter) format()
final int
handle()
static boolean
static boolean
final int
height()
final boolean
isBound()
final boolean
isValid()
final boolean
release()
final void
setAttachment
(QOpenGLFramebufferObject.Attachment attachment) final QSize
size()
sizes()
final int
final int
takeTexture
(int colorAttachmentIndex) final int
texture()
final QList
<@QtPrimitiveType Integer> textures()
final QImage
toImage()
Overloaded function fortoImage(boolean)
withflipped = true
.final QImage
toImage
(boolean flipped) final QImage
toImage
(boolean flipped, int colorAttachmentIndex) final int
width()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QOpenGLFramebufferObject
-
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target, int internalFormat) -
QOpenGLFramebufferObject
-
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height, int target) -
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target, int internalFormat) -
QOpenGLFramebufferObject
-
QOpenGLFramebufferObject
Overloaded constructor for
QOpenGLFramebufferObject(io.qt.core.QSize, int)
withtarget = 0x0DE1
. -
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target) Overloaded constructor for
QOpenGLFramebufferObject(io.qt.core.QSize, io.qt.opengl.QOpenGLFramebufferObject.Attachment, int, int)
withinternalFormat = 0
. -
QOpenGLFramebufferObject
Overloaded constructor for
QOpenGLFramebufferObject(io.qt.core.QSize, io.qt.opengl.QOpenGLFramebufferObject.Attachment, int, int)
with:
target = 0x0DE1
internalFormat = 0
-
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height) Overloaded constructor for
QOpenGLFramebufferObject(int, int, int)
withtarget = 0x0DE1
. -
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target) Overloaded constructor for
QOpenGLFramebufferObject(int, int, io.qt.opengl.QOpenGLFramebufferObject.Attachment, int, int)
withinternalFormat = 0
. -
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject.Attachment attachment) Overloaded constructor for
QOpenGLFramebufferObject(int, int, io.qt.opengl.QOpenGLFramebufferObject.Attachment, int, int)
with:
target = 0x0DE1
internalFormat = 0
-
-
Method Details
-
addColorAttachment
-
addColorAttachment
-
attachment
-
bind
-
format
-
handle
-
height
-
isBound
-
isValid
-
release
-
setAttachment
-
size
-
sizes
-
takeTexture
-
takeTexture
-
texture
-
textures
-
toImage
-
toImage
-
width
-
bindDefault
public static boolean bindDefault() -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source, int buffers, int filter) -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers, int filter) -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers, int filter, int readColorAttachmentIndex, int drawColorAttachmentIndex) -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers, int filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject.FramebufferRestorePolicy restorePolicy) -
hasOpenGLFramebufferBlit
public static boolean hasOpenGLFramebufferBlit() -
hasOpenGLFramebufferObjects
public static boolean hasOpenGLFramebufferObjects() -
addColorAttachment
Overloaded function for
addColorAttachment(io.qt.core.QSize, int)
withinternalFormat = 0
. -
addColorAttachment
Overloaded function for
addColorAttachment(int, int, int)
withinternalFormat = 0
. -
toImage
Overloaded function for
toImage(boolean)
withflipped = true
. -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source, int buffers) Overloaded function for
blitFramebuffer(io.qt.opengl.QOpenGLFramebufferObject, io.qt.opengl.QOpenGLFramebufferObject, int, int)
withfilter = 0x2600
. -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source) Overloaded function for
blitFramebuffer(io.qt.opengl.QOpenGLFramebufferObject, io.qt.opengl.QOpenGLFramebufferObject, int, int)
with:
buffers = 0x00004000
filter = 0x2600
-
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers) Overloaded function for
blitFramebuffer(io.qt.opengl.QOpenGLFramebufferObject, io.qt.core.QRect, io.qt.opengl.QOpenGLFramebufferObject, io.qt.core.QRect, int, int)
withfilter = 0x2600
. -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect) Overloaded function for
blitFramebuffer(io.qt.opengl.QOpenGLFramebufferObject, io.qt.core.QRect, io.qt.opengl.QOpenGLFramebufferObject, io.qt.core.QRect, int, int)
with:
buffers = 0x00004000
filter = 0x2600
-