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. 5.0 painting-3D QtOpenGL

QOpenGLCompositor

A generic OpenGL-based compositor 5.4 qpa

QOpenGLCompositorBackingStore

A backing store implementation for OpenGL 5.4 qpa

QOpenGLDebugLogger

Enables logging of OpenGL debugging messages. QtOpenGL 5.1 painting-3D

QOpenGLDebugMessage

Wraps an OpenGL debug message. QtOpenGL 5.1 shared painting-3D

QOpenGLFramebufferObject

Encapsulates an OpenGL framebuffer object. 5.0 QtOpenGL

QOpenGLFramebufferObjectFormat

Specifies the format of an OpenGL framebuffer object. QtOpenGL

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. 5.0 QtOpenGL

QOpenGLPixelTransferOptions

Describes the pixel storage modes that affect the unpacking of pixels during texture upload

QOpenGLShader

Allows OpenGL shaders to be compiled. 5.0 painting-3D QtOpenGL

QOpenGLShaderProgram

Allows OpenGL shader programs to be linked and used. 5.0 painting-3D QtOpenGL

QOpenGLTexture

Encapsulates an OpenGL texture object

QOpenGLTextureBlitter

Convenient way to draw textured quads via OpenGL. 5.8 painting-3D QtOpenGL

QOpenGLTimeMonitor

Wraps a sequence of OpenGL timer query objects. QtOpenGL 5.1 painting-3D

QOpenGLTimerQuery

Wraps an OpenGL timer query object. QtOpenGL 5.1 painting-3D

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. QtOpenGL 5.1 painting-3D

QOpenGLVertexArrayObject::Binder

QOpenGLVertexArrayObject::Binder class is a convenience class to help with the binding and releasing of OpenGL Vertex Array Objects. QtOpenGL 5.1 painting-3D

QOpenGLWidget

Widget for rendering OpenGL graphics

QOpenGLWindow

Convenience subclass of QWindow to perform OpenGL painting

QVkConvenience

A collection of static helper functions for Vulkan support 5.14 qpa

Detailed Description

\titleQt OpenGL C++ Classes \ingroup modules \qtcmakepackage OpenGL \qtvariable opengl

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.