The QOpenGLContextGroup class represents a group of contexts sharing OpenGL resources. 更多...
| 頭: | #include <QOpenGLContextGroup> |
| qmake: | QT += gui |
| Since: | Qt 5.0 |
| 繼承: | QObject |
| QList<QOpenGLContext *> | shares () const |
| QOpenGLContextGroup * | currentContextGroup () |
| const QMetaObject | staticMetaObject |
The QOpenGLContextGroup class represents a group of contexts sharing OpenGL resources.
QOpenGLContextGroup is automatically created and managed by QOpenGLContext instances. Its purpose is to identify all the contexts that are sharing resources.
另請參閱 QOpenGLContext::shareGroup ().
[static]
QOpenGLContextGroup
*QOpenGLContextGroup::
currentContextGroup
()
返迴 QOpenGLContextGroup 對應當前上下文。
另請參閱 QOpenGLContext::currentContext ().
返迴所有 QOpenGLContext 在此共享組中的對象。