Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How do you use QAbstractOpenGLFunctions?
jsprenkle last edited by
I'm new to OpenGL so this might be a stupid question. I can't see how these classes are supposed to be useful.
There are classes for each version and profile of OpenGL. These classes have explicit methods for all the OpenGL calls supported by each version.
When I start my program:
- I query the video card and ask which version of OpenGL it supports.
- I get a copy of the appropriate class.
How do I write code using this class? I have no idea which object I'm going to get at run time.
Get a base class pointer and only use methods supported by all versions?