- All Implemented Interfaces:
QtObjectInterface
public class QOpenGLFramebufferObject extends QtObject
Encapsulates an OpenGL framebuffer object
Java wrapper for Qt class QOpenGLFramebufferObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QOpenGLFramebufferObject.Attachment
Java wrapper for Qt enum QOpenGLFramebufferObject::Attachmentstatic class
QOpenGLFramebufferObject.FramebufferRestorePolicy
Java wrapper for Qt enum QOpenGLFramebufferObject::FramebufferRestorePolicy -
Constructor Summary
-
Method Summary
-
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
-
QOpenGLFramebufferObject
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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()
-