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 () |
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 在此共享组中的对象。