cee::vis::OpenGLContextGroup Class Reference

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...
 
- Public Member Functions inherited from cee::RefCountedObject
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...
 
Inheritance diagram for cee::vis::OpenGLContextGroup:
cee::RefCountedObject

Detailed Description

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.

Member Function Documentation

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.