QOpenGLContextGroup#
The QOpenGLContextGroup
class represents a group of contexts sharing OpenGL resources. More…
Synopsis#
Functions#
def
shares
()
Static functions#
def
currentContextGroup
()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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
- class PySide6.QtGui.QOpenGLContextGroup#
- static PySide6.QtGui.QOpenGLContextGroup.currentContextGroup()#
- Return type:
Returns the QOpenGLContextGroup
corresponding to the current context.
See also
Returns all the QOpenGLContext
objects in this share group.