class OpenGLContextGroup : public RefCountedObject

A context group associates OpenGLContext instances that share OpenGL resources such as shader objects, textures and buffer objects.

Contexts added to the group must be compatible from OpenGL’s perspective - that is they must use identical (pixel) formats.

Public Functions

size_t contextCount() const

Returns the number of OpenGL contexts in the Context Group.

OpenGLInfo info() const

Returns OpenGL renderer and version information for this context group.