Show / Hide Table of Contents

Class ToolkitOptions

Contains configuration options for OpenTK. Init(ToolkitOptions)

Inheritance
Object
ToolkitOptions
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 class ToolkitOptions

Properties

Backend

Get or set the desired PlatformBackend for the OpenTK.Platform implementation.

Declaration
public PlatformBackend Backend { get; set; }
Property Value
Type Description
PlatformBackend

Default

Gets a ToolkitOptions instance with default values.

Declaration
public static ToolkitOptions Default { get; }
Property Value
Type Description
ToolkitOptions

EnableHighResolution

Gets or sets a value indicating whether high resolution modes are supported on high-DPI ("Retina") displays. Enabled by default. Set to false for applications that are not DPI-aware (e.g. WinForms.)

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