Class ToolkitOptions
Contains configuration options for OpenTK. Init(ToolkitOptions)
Inheritance
System.Object
ToolkitOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK
Assembly: cs.temp.dll.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 |
---|---|
System.Boolean |