PySide6.QtGui.QOpenGLContextGroup¶
- class QOpenGLContextGroup¶
The
QOpenGLContextGroupclass represents a group of contexts sharing OpenGL resources.Details
QOpenGLContextGroupis automatically created and managed byQOpenGLContextinstances. Its purpose is to identify all the contexts that are sharing resources.See also
Synopsis¶
Methods¶
def
shares()
Static functions¶
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
- static currentContextGroup()¶
- Return type:
Returns the
QOpenGLContextGroupcorresponding to the current context.See also
- Return type:
.list of QOpenGLContext
Returns all the
QOpenGLContextobjects in this share group.