QOpenGLContextGroup露

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

Inheritance diagram of PySide2.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 PySide2.QtGui.QOpenGLContextGroup露
static PySide2.QtGui.QOpenGLContextGroup.currentContextGroup()露
Return type:

PySide2.QtGui.QOpenGLContextGroup

Returns the QOpenGLContextGroup corresponding to the current context.

See also

currentContext()

PySide2.QtGui.QOpenGLContextGroup.shares()露
Return type:

Returns all the QOpenGLContext objects in this share group.