QOpenGLContextGroup Class
The QOpenGLContextGroup class represents a group of contexts sharing OpenGL resources. 更多...
头文件: | #include <QOpenGLContextGroup> |
qmake: | QT += gui |
开始支持版本: | Qt 5.0 |
基类: | QObject |
公有函数
QList<QOpenGLContext *> | shares() const |
- 32 个公有函数继承自 QObject
静态公有成员
QOpenGLContextGroup * | currentContextGroup() |
- 10 个静态公有成员继承自 QObject
其他继承的成员
- 1 个属性继承自 QObject
- 1 个公有槽函数继承自 QObject
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
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()
Returns the QOpenGLContextGroup corresponding to the current context.
参见 QOpenGLContext::currentContext().
QList<QOpenGLContext *> QOpenGLContextGroup::shares() const
Returns all the QOpenGLContext objects in this share group.