QOpenGLContextGroupclass represents a group of contexts sharing OpenGL resources. 更多 …
New in version 5.0.
QOpenGLContextGroupis automatically created and managed byQOpenGLContextinstances. Its purpose is to identify all the contexts that are sharing resources.另请参阅
PySide2.QtGui.QOpenGLContextGroup.
currentContextGroup
(
)
¶
QOpenGLContextGroup
返回
QOpenGLContextGroup
corresponding to the current context.
另请参阅
返回所有
QOpenGLContext
objects in this share group.