The Open Toolkit library  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
OpenTK.Toolkit Class Reference

Provides static methods to manage an OpenTK application. More...

Static Public Member Functions

static void Init ()
 Initializes OpenTK. This method is necessary only if you are using OpenTK alongside a different windowing toolkit (e.g. GTK#) and should be the very first method called by your application (i.e. calling this method should be the very first statement executed by the "Main" method). More...
 

Detailed Description

Provides static methods to manage an OpenTK application.

Member Function Documentation

static void OpenTK.Toolkit.Init ( )
static

Initializes OpenTK. This method is necessary only if you are using OpenTK alongside a different windowing toolkit (e.g. GTK#) and should be the very first method called by your application (i.e. calling this method should be the very first statement executed by the "Main" method).

Some windowing toolkits do not configure the underlying platform correctly or configure it in a way that is incompatible with OpenTK. Calling this method first ensures that OpenTK is given the chance to initialize itself and configure the platform correctly.