- Qt 6.12
- Qt OpenGL
- Qt OpenGL C++ Classes
- Qt 6.12.0 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
QOpenGLFunctions_1_0 | All functions for OpenGL 1.0 specification
QOpenGLFunctions_1_1 | All functions for OpenGL 1.1 specification
QOpenGLFunctions_1_2 | All functions for OpenGL 1.2 specification
QOpenGLFunctions_1_3 | All functions for OpenGL 1.3 specification
QOpenGLFunctions_1_4 | All functions for OpenGL 1.4 specification
QOpenGLFunctions_1_5 | All functions for OpenGL 1.5 specification
QOpenGLFunctions_2_0 | All functions for OpenGL 2.0 specification
QOpenGLFunctions_2_1 | All functions for OpenGL 2.1 specification
QOpenGLFunctions_3_0 | All functions for OpenGL 3.0 specification
QOpenGLFunctions_3_1 | All functions for OpenGL 3.1 specification
QOpenGLFunctions_3_2_Compatibility | All functions for OpenGL 3.2 compatibility profile
QOpenGLFunctions_3_2_Core | All functions for OpenGL 3.2 core profile
QOpenGLFunctions_3_3_Compatibility | All functions for OpenGL 3.3 compatibility profile
QOpenGLFunctions_3_3_Core | All functions for OpenGL 3.3 core profile
QOpenGLFunctions_4_0_Compatibility | All functions for OpenGL 4.0 compatibility profile
QOpenGLFunctions_4_0_Core | All functions for OpenGL 4.0 core profile
QOpenGLFunctions_4_1_Compatibility | All functions for OpenGL 4.1 compatibility profile
QOpenGLFunctions_4_1_Core | All functions for OpenGL 4.1 core profile
QOpenGLFunctions_4_2_Compatibility | All functions for OpenGL 4.2 compatibility profile
QOpenGLFunctions_4_2_Core | All functions for OpenGL 4.2 core profile
QOpenGLFunctions_4_3_Compatibility | All functions for OpenGL 4.3 compatibility profile
QOpenGLFunctions_4_3_Core | All functions for OpenGL 4.3 core profile
QOpenGLFunctions_4_4_Compatibility | All functions for OpenGL 4.4 compatibility profile
QOpenGLFunctions_4_4_Core | All functions for OpenGL 4.4 core profile
QOpenGLFunctions_4_5_Compatibility | All functions for OpenGL 4.5 compatibility profile
QOpenGLFunctions_4_5_Core | All functions for OpenGL 4.5 core profile
QOpenGLFunctions_ES2 | All functions for OpenGL ES 2
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
QOpenGLTimeMonitor | Wraps a sequence of OpenGL timer query objects
QOpenGLTimerQuery | Wraps an OpenGL timer query object
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