OpenTK.Toolkit Class Reference

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

List of all members.

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).

Detailed Description

Provides static methods to manage an OpenTK application.

Definition at line 37 of file Toolkit.cs.


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.

Definition at line 59 of file Toolkit.cs.

00060         {
00061             // The actual initialization takes place in the platform-specific factory
00062             // constructors.
00063             new Platform.Factory();
00064         }

 All Classes Functions Variables Enumerations Properties Events

Generated on Tue Mar 9 14:59:19 2010 for The Open Toolkit library by  doxygen 1.6.1