QOpenGLContextGroup Class▲
-
Header: QOpenGLContextGroup
-
Since: Qt 5.0
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
-
qmake: QT += gui
-
Inherits: QObject
Detailed Description▲
QOpenGLContextGroup is automatically created and managed by QOpenGLContext instances. Its purpose is to identify all the contexts that are sharing resources.
See Also▲
See also QOpenGLContext::shareGroup()
Member Function Documentation▲
[static] QOpenGLContextGroup *QOpenGLContextGroup::currentContextGroup()▲
Returns the QOpenGLContextGroup corresponding to the current context.
See Also▲
See also QOpenGLContext::currentContext()