Nt OpenGL C++ Classes
Windows that render with OpenGL, QPainter on OpenGL, and framebuffer objects.
Using the Module
target_link_libraries(app PRIVATE Nt::OpenGL)
Nt OpenGL renders with OpenGL in windows and offscreen: QOpenGLWindow is a window that renders with OpenGL, QOpenGLPaintDevice lets QPainter draw with OpenGL, and QOpenGLFramebufferObject is an offscreen target. The contexts, functions and formats they use are in Nt GUI: QOpenGLContext, QOpenGLFunctions, QSurfaceFormat and QOffscreenSurface. See Using Nt OpenGL.
Link with Nt::OpenGL and include <QtOpenGL> or the headers of the classes, such as <QOpenGLWindow>.
Classes
| QOpenGLFramebufferObject | The QOpenGLFramebufferObject class encapsulates an OpenGL framebuffer object. |
| QOpenGLFramebufferObjectFormat | The QOpenGLFramebufferObjectFormat class specifies the format of an OpenGL framebuffer object. |
| QOpenGLPaintDevice | The QOpenGLPaintDevice class enables painting to an OpenGL context using QPainter. |
| QOpenGLWindow | The QOpenGLWindow class is a convenience subclass of QWindow to perform OpenGL painting. |