Show / Hide Table of Contents

Class Configuration

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

Inheritance
Object
Configuration
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: OpenTK
Assembly: OpenTK.dll
Syntax
public sealed class Configuration

Properties

RunningOnAndroid

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

Declaration
public static bool RunningOnAndroid { get; }
Property Value
Type Description
Boolean

RunningOnIOS

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

Declaration
public static bool RunningOnIOS { get; }
Property Value
Type Description
Boolean

RunningOnLinux

Gets a System.Boolean indicating whether OpenTK is running on the Linux kernel.

Declaration
public static bool RunningOnLinux { get; }
Property Value
Type Description
Boolean

RunningOnMacOS

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

Declaration
public static bool RunningOnMacOS { get; }
Property Value
Type Description
Boolean

RunningOnMono

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

Declaration
public static bool RunningOnMono { get; }
Property Value
Type Description
Boolean

RunningOnSdl2

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

Declaration
public static bool RunningOnSdl2 { get; }
Property Value
Type Description
Boolean

RunningOnUnix

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

Declaration
public static bool RunningOnUnix { get; }
Property Value
Type Description
Boolean

RunningOnWindows

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

Declaration
public static bool RunningOnWindows { get; }
Property Value
Type Description
Boolean

RunningOnX11

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

Declaration
public static bool RunningOnX11 { get; }
Property Value
Type Description
Boolean
In This Article
Back to top Generated by DocFX