QOpenGLFramebufferObjectFormat Class

The QOpenGLFramebufferObjectFormat class specifies the format of an OpenGL framebuffer object. More...

Header: #include <QOpenGLFramebufferObjectFormat>
qmake: QT += gui
Since: Qt 5.0

This class was introduced in Qt 5.0.

Detailed Description

A framebuffer object has several characteristics:

  • Number of samples per pixels.
  • Depth and/or stencil attachments.
  • Texture target.
  • Internal texture format.

Note that the desired attachments or number of samples per pixels might not be supported by the hardware driver. Call QOpenGLFramebufferObject::format() after creating a QOpenGLFramebufferObject to find the exact format that was used to create the frame buffer object.

See also QOpenGLFramebufferObject.