Home
·
All Classes
·
Modules
QGLFramebufferObject Class Reference
[
QtOpenGL
module]
Inherits
QPaintDevice
.
Types
enum
Attachment
{ NoAttachment, CombinedDepthStencil, Depth }
Methods
__init__
(
self
, QSize, int
target
= GL_TEXTURE_2D)
__init__
(
self
, int, int, int
target
= GL_TEXTURE_2D)
__init__
(
self
, QSize, Attachment, int
target
= GL_TEXTURE_2D, int
internalFormat
= GL_RGBA8)
__init__
(
self
, int, int, Attachment, int
target
= GL_TEXTURE_2D, int
internalFormat
= GL_RGBA8)
__init__
(
self
, QSize, QGLFramebufferObjectFormat)
__init__
(
self
, int, int, QGLFramebufferObjectFormat)
Attachment
attachment
(
self
)
bool
bind
(
self
)
drawTexture
(
self
, QRectF, int, int
textureTarget
= GL_TEXTURE_2D)
drawTexture
(
self
, QPointF, int, int
textureTarget
= GL_TEXTURE_2D)
QGLFramebufferObjectFormat
format
(
self
)
int
handle
(
self
)
bool
isBound
(
self
)
bool
isValid
(
self
)
int
metric
(
self
, QPaintDevice.PaintDeviceMetric)
QPaintEngine
paintEngine
(
self
)
bool
release
(
self
)
QSize
size
(
self
)
int
texture
(
self
)
QImage
toImage
(
self
)
Static Methods
blitFramebuffer
(QGLFramebufferObject, QRect, QGLFramebufferObject, QRect, int
buffers
= GL_COLOR_BUFFER_BIT, int
filter
= GL_NEAREST)
bool
hasOpenGLFramebufferBlit
()
bool
hasOpenGLFramebufferObjects
()
Detailed Description
Type Documentation
QGLFramebufferObject.Attachment
Method Documentation
QGLFramebufferObject.__init__ (
self
,
QSize
, int
target
= GL_TEXTURE_2D)
QGLFramebufferObject.__init__ (
self
, int, int, int
target
= GL_TEXTURE_2D)
QGLFramebufferObject.__init__ (
self
,
QSize
,
Attachment
, int
target
= GL_TEXTURE_2D, int
internalFormat
= GL_RGBA8)
QGLFramebufferObject.__init__ (
self
, int, int,
Attachment
, int
target
= GL_TEXTURE_2D, int
internalFormat
= GL_RGBA8)
QGLFramebufferObject.__init__ (
self
,
QSize
,
QGLFramebufferObjectFormat
)
QGLFramebufferObject.__init__ (
self
, int, int,
QGLFramebufferObjectFormat
)
Attachment
QGLFramebufferObject.attachment (
self
)
bool QGLFramebufferObject.bind (
self
)
QGLFramebufferObject.blitFramebuffer (
QGLFramebufferObject
,
QRect
,
QGLFramebufferObject
,
QRect
, int
buffers
= GL_COLOR_BUFFER_BIT, int
filter
= GL_NEAREST)
QGLFramebufferObject.drawTexture (
self
,
QRectF
, int, int
textureTarget
= GL_TEXTURE_2D)
QGLFramebufferObject.drawTexture (
self
,
QPointF
, int, int
textureTarget
= GL_TEXTURE_2D)
QGLFramebufferObjectFormat
QGLFramebufferObject.format (
self
)
int QGLFramebufferObject.handle (
self
)
bool QGLFramebufferObject.hasOpenGLFramebufferBlit ()
bool QGLFramebufferObject.hasOpenGLFramebufferObjects ()
bool QGLFramebufferObject.isBound (
self
)
bool QGLFramebufferObject.isValid (
self
)
int QGLFramebufferObject.metric (
self
,
QPaintDevice.PaintDeviceMetric
)
QPaintEngine
QGLFramebufferObject.paintEngine (
self
)
bool QGLFramebufferObject.release (
self
)
QSize
QGLFramebufferObject.size (
self
)
int QGLFramebufferObject.texture (
self
)
QImage
QGLFramebufferObject.toImage (
self
)
PyQt 4.8 for X11
Copyright ©
Riverbank Computing Ltd
and
Nokia
2010
Qt 4.7.0