QOpenGLContextGroup

The QOpenGLContextGroup class represents a group of contexts sharing OpenGL resources. More

Inheritance diagram of PySide6.QtGui.QOpenGLContextGroup

New in version 5.0.

Synopsis

Functions

Static functions

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

shareGroup()

class PySide6.QtGui.QOpenGLContextGroup
static PySide6.QtGui.QOpenGLContextGroup.currentContextGroup()
Return type

PySide6.QtGui.QOpenGLContextGroup

Returns the QOpenGLContextGroup corresponding to the current context.

See also

currentContext()

PySide6.QtGui.QOpenGLContextGroup.shares()
Return type

Returns all the QOpenGLContext objects in this share group.