- Qt 6.7
- Qt OpenGL
- C++ Classes
- QOpenGLFunctions_2_1
- Qt 6.7.2 Reference Documentation

# QOpenGLFunctions_2_1 Class

The QOpenGLFunctions_2_1 class provides all functions for OpenGL 2.1 specification. More...

Header: | #include <QOpenGLFunctions_2_1>
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpenGL) target_link_libraries(mytarget PRIVATE Qt6::OpenGL)
qmake: | QT += opengl
Inherits: | QAbstractOpenGLFunctions

## Detailed Description

This class is a wrapper for functions from OpenGL 2.1 specification. See reference pages on opengl.org for function documentation.

See also QAbstractOpenGLFunctions.