内容表

上一话题

QOpenGLContext

下一话题

QOpenGLDebugLogger

QOpenGLContextGroup

QOpenGLContextGroup class represents a group of contexts sharing OpenGL resources. 更多

Inheritance diagram of PySide2.QtGui.QOpenGLContextGroup

New in version 5.0.

概要

函数

静态函数

详细描述

QOpenGLContextGroup is automatically created and managed by QOpenGLContext instances. Its purpose is to identify all the contexts that are sharing resources.

另请参阅

shareGroup()

static PySide2.QtGui.QOpenGLContextGroup. currentContextGroup ( )
返回类型

QOpenGLContextGroup

返回 QOpenGLContextGroup corresponding to the current context.

另请参阅

currentContext()

PySide2.QtGui.QOpenGLContextGroup. shares ( )
返回类型

返回所有 QOpenGLContext objects in this share group.