A context group associates OpenGLContext instances that share OpenGL resources such as shader objects, textures and buffer objects. More...
Public Member Functions | |
size_t | contextCount () const |
Returns the number of OpenGL contexts in the Context Group. More... | |
OpenGLInfo | info () const |
Returns OpenGL renderer and version information for this context group. More... | |
![]() | |
void | addRef () const |
Increments the reference count for this object. More... | |
void | release () const |
Decrements the reference count for this object. More... | |
int | refCount () const |
Returns the reference count for this object. More... | |
void | setRefCountZero () const |
Sets the ref count to zero, but DOES NOT delete the object. More... | |
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.
size_t cee::vis::OpenGLContextGroup::contextCount | ( | ) | const |
Returns the number of OpenGL contexts in the Context Group.
OpenGLInfo cee::vis::OpenGLContextGroup::info | ( | ) | const |
Returns OpenGL renderer and version information for this context group.