- Qt 6.9
- Qt OpenGL
- Qt OpenGL C++ Classes
- Qt 6.9.2 Reference Documentation

# Qt OpenGL C++ Classes

The Qt OpenGL module offers classes that make it easy to use OpenGL in Qt applications. More...

## Classes

QAbstractOpenGLFunctions | The base class of a family of classes that expose all functions for each OpenGL version and profile
QOpenGLBuffer | Functions for creating and managing OpenGL buffer objects
QOpenGLDebugLogger | Enables logging of OpenGL debugging messages
QOpenGLDebugMessage | Wraps an OpenGL debug message
QOpenGLFramebufferObject | Encapsulates an OpenGL framebuffer object
QOpenGLFramebufferObjectFormat | Specifies the format of an OpenGL framebuffer object
QOpenGLPaintDevice | Enables painting to an OpenGL context using QPainter
QOpenGLPixelTransferOptions | Describes the pixel storage modes that affect the unpacking of pixels during texture upload
QOpenGLShader | Allows OpenGL shaders to be compiled
QOpenGLShaderProgram | Allows OpenGL shader programs to be linked and used
QOpenGLTextureBlitter | Convenient way to draw textured quads via OpenGL
QOpenGLVersionFunctionsFactory | Provides access to OpenGL functions for a specified version and profile
QOpenGLVersionProfile | Represents the version and if applicable the profile of an OpenGL context
QOpenGLVertexArrayObject | Wraps an OpenGL Vertex Array Object
QOpenGLVertexArrayObject::Binder | QOpenGLVertexArrayObject::Binder class is a convenience class to help with the binding and releasing of OpenGL Vertex Array Objects
QOpenGLWindow | Convenience subclass of QWindow to perform OpenGL painting

## Detailed Description

The Qt OpenGL page contains information about how to use the module.

A separate Qt OpenGL Widgets library provides a C++ widget class for rendering OpenGL graphics into widgets UIs.

QOpenGLWidget | Widget for rendering OpenGL graphics