Class ToolkitOptions
Contains configuration options for OpenTK. Init(ToolkitOptions)
Inherited Members
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 |