QOpenGLContextGroup 类表示共享 OpenGL 资源的一组上下文。 更多...
头: | #include <QOpenGLContextGroup> |
qmake: | QT += gui |
Since: | Qt 5.0 |
继承: | QObject |
该类在 Qt 5.0 引入。
QList<QOpenGLContext *> | shares () const |
QOpenGLContextGroup * | currentContextGroup () |
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 在此共享组中的对象。