QOpenGLFunctions_2_1 Class | Qt OpenGL
Description: The QOpenGLFunctions_2_1 class provides all functions for OpenGL 2.1 specification.
Keywords: class

- Qt 6.12
- Qt OpenGL
- C++ Classes
- QOpenGLFunctions_2_1
- Qt 6.12.0 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

- List of all members, including inherited members

## 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.