The Open Toolkit library  1.1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Properties | List of all members
OpenTK.Configuration Class Reference

Provides information about the underlying OS and runtime. You must call Toolkit.Init before accessing members of this class. More...

Properties

static bool RunningOnWindows [get]
 Gets a System.Boolean indicating whether OpenTK is running on a Windows platform. More...
 
static bool RunningOnX11 [get]
 Gets a System.Boolean indicating whether OpenTK is running on an X11 platform. More...
 
static bool RunningOnUnix [get]
 Gets a System.Boolean indicating whether OpenTK is running on a Unix platform. More...
 
static bool RunningOnSdl2 [get, set]
 Gets a System.Boolean indicating whether OpenTK is running on the SDL2 backend. More...
 
static bool RunningOnLinux [get]
 Gets a System.Boolean indicating whether OpenTK is running on an X11 platform. More...
 
static bool RunningOnMacOS [get]
 Gets a System.Boolean indicating whether OpenTK is running on a MacOS platform. More...
 
static bool RunningOnMono [get]
 Gets a System.Boolean indicating whether OpenTK is running on the Mono runtime. More...
 
static bool RunningOnAndroid [get]
 Gets a System.Boolean indicating whether OpenTK is running on an Android device. More...
 

Detailed Description

Provides information about the underlying OS and runtime. You must call Toolkit.Init before accessing members of this class.

Property Documentation

bool OpenTK.Configuration.RunningOnAndroid
staticget

Gets a System.Boolean indicating whether OpenTK is running on an Android device.

bool OpenTK.Configuration.RunningOnLinux
staticget

Gets a System.Boolean indicating whether OpenTK is running on an X11 platform.

bool OpenTK.Configuration.RunningOnMacOS
staticget

Gets a System.Boolean indicating whether OpenTK is running on a MacOS platform.

bool OpenTK.Configuration.RunningOnMono
staticget

Gets a System.Boolean indicating whether OpenTK is running on the Mono runtime.

bool OpenTK.Configuration.RunningOnSdl2
staticgetset

Gets a System.Boolean indicating whether OpenTK is running on the SDL2 backend.

bool OpenTK.Configuration.RunningOnUnix
staticget

Gets a System.Boolean indicating whether OpenTK is running on a Unix platform.

bool OpenTK.Configuration.RunningOnWindows
staticget

Gets a System.Boolean indicating whether OpenTK is running on a Windows platform.

bool OpenTK.Configuration.RunningOnX11
staticget

Gets a System.Boolean indicating whether OpenTK is running on an X11 platform.