- All Implemented Interfaces:
QtObjectInterface
Encapsulates an OpenGL framebuffer object
Java wrapper for Qt class QOpenGLFramebufferObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQOpenGLFramebufferObject::Attachment
static enum
Java wrapper for Qt enumQOpenGLFramebufferObject::FramebufferRestorePolicy
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorsConstructorDescriptionQOpenGLFramebufferObject
(int width, int height) Overloaded constructor forQOpenGLFramebufferObject(int, int, int)
withtarget = 0x0DE1
.QOpenGLFramebufferObject
(int width, int height, int target) QOpenGLFramebufferObject
(int width, int height, QOpenGLFramebufferObject.Attachment attachment) Overloaded constructor forQOpenGLFramebufferObject(int, int, io.qt.gui.QOpenGLFramebufferObject.Attachment, int, int)
QOpenGLFramebufferObject
(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target) Overloaded constructor forQOpenGLFramebufferObject(int, int, io.qt.gui.QOpenGLFramebufferObject.Attachment, int, int)
withinternalFormat = 0
.QOpenGLFramebufferObject
(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target, int internalFormat) QOpenGLFramebufferObject
(int width, int height, QOpenGLFramebufferObjectFormat format) Overloaded constructor forQOpenGLFramebufferObject(io.qt.core.QSize, int)
withtarget = 0x0DE1
.QOpenGLFramebufferObject
(QSize size, int target) QOpenGLFramebufferObject
(QSize size, QOpenGLFramebufferObject.Attachment attachment) Overloaded constructor forQOpenGLFramebufferObject(io.qt.core.QSize, io.qt.gui.QOpenGLFramebufferObject.Attachment, int, int)
QOpenGLFramebufferObject
(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target) Overloaded constructor forQOpenGLFramebufferObject(io.qt.core.QSize, io.qt.gui.QOpenGLFramebufferObject.Attachment, int, int)
withinternalFormat = 0
.QOpenGLFramebufferObject
(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target, int internalFormat) QOpenGLFramebufferObject
(QSize size, QOpenGLFramebufferObjectFormat format) -
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.gui.QOpenGLFramebufferObject, io.qt.core.QRect, io.qt.gui.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.gui.QOpenGLFramebufferObject, io.qt.gui.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 QVector<@QtPrimitiveType Integer>
textures()
final QImage
toImage()
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
Overloaded constructor for
QOpenGLFramebufferObject(io.qt.core.QSize, int)
withtarget = 0x0DE1
. -
QOpenGLFramebufferObject
-
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target) Overloaded constructor for
QOpenGLFramebufferObject(io.qt.core.QSize, io.qt.gui.QOpenGLFramebufferObject.Attachment, int, int)
withinternalFormat = 0
. -
QOpenGLFramebufferObject
Overloaded constructor for
QOpenGLFramebufferObject(io.qt.core.QSize, io.qt.gui.QOpenGLFramebufferObject.Attachment, int, int)
with:
target = 0x0DE1
internalFormat = 0
-
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target, int internalFormat) -
QOpenGLFramebufferObject
-
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height) Overloaded constructor for
QOpenGLFramebufferObject(int, int, int)
withtarget = 0x0DE1
. -
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height, int target) -
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target) Overloaded constructor for
QOpenGLFramebufferObject(int, int, io.qt.gui.QOpenGLFramebufferObject.Attachment, int, int)
withinternalFormat = 0
. -
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject.Attachment attachment) Overloaded constructor for
QOpenGLFramebufferObject(int, int, io.qt.gui.QOpenGLFramebufferObject.Attachment, int, int)
with:
target = 0x0DE1
internalFormat = 0
-
QOpenGLFramebufferObject
public QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target, int internalFormat) -
QOpenGLFramebufferObject
-
-
Method Details
-
addColorAttachment
Overloaded function for
addColorAttachment(io.qt.core.QSize, int)
withinternalFormat = 0
. -
addColorAttachment
-
addColorAttachment
Overloaded function for
addColorAttachment(int, int, int)
withinternalFormat = 0
. -
addColorAttachment
-
attachment
-
bind
-
format
-
handle
-
height
-
isBound
-
isValid
-
release
-
setAttachment
-
size
-
sizes
-
takeTexture
-
takeTexture
-
texture
-
textures
-
toImage
-
toImage
-
toImage
-
width
-
bindDefault
public static boolean bindDefault() -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source, int buffers) Overloaded function for
blitFramebuffer(io.qt.gui.QOpenGLFramebufferObject, io.qt.gui.QOpenGLFramebufferObject, int, int)
withfilter = 0x2600
. -
blitFramebuffer
public static void blitFramebuffer(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source) Overloaded function for
blitFramebuffer(io.qt.gui.QOpenGLFramebufferObject, io.qt.gui.QOpenGLFramebufferObject, int, int)
with:
buffers = 0x00004000
filter = 0x2600
-
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) Overloaded function for
blitFramebuffer(io.qt.gui.QOpenGLFramebufferObject, io.qt.core.QRect, io.qt.gui.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.gui.QOpenGLFramebufferObject, io.qt.core.QRect, io.qt.gui.QOpenGLFramebufferObject, io.qt.core.QRect, int, int)
with:
buffers = 0x00004000
filter = 0x2600
-
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()
-