class OpenGLComponent

Static class for initialization of the component.

Public Static Functions

static bool isInitialized()

Returns true if this component has been properly initialized.

static bool initialize(Instance *instance)

One time initialization of the OpenGL component.

Initialization should be done once per process. After successful initialization, any subsequent calls to this function will do nothing and silently return true.

static unsigned int version()

Returns the component version as a single unsigned integer.

Version is returned on the form 0xMMNNPP (MM=major, NN=minor, PP=patch)

static Str versionString()

Returns the component version as a string.

static cee::PtrRef<cee::vis::OpenGLContextGroup> createOpenGLContextGroup()

Creates an OpenGL context group suitable for usage with OpenGL.

Note! This method must be called after initialize() and can only be called once. Only one context group is allowed.