QOpenGLVersionProfile Class
The QOpenGLVersionProfile class represents the version and if applicable the profile of an OpenGL context. More...
| Header: | #include <QOpenGLVersionProfile> |
| qmake: | QT += gui |
| Since: | Qt 5.1 |
This class was introduced in Qt 5.1.
Detailed Description
An object of this class can be passed to QOpenGLContext::versionFunctions() to request a functions object for a specific version and profile of OpenGL.
It also contains some helper functions to check if a version supports profiles or is a legacy version.