Class ToolkitOptions
Options used to initialize OpenTK with.
Inherited Members
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public sealed class ToolkitOptions
Properties
ApplicationName
The application name.
Declaration
public string ApplicationName { get; set; }
Property Value
Type | Description |
---|---|
string |
Logger
The logger to send diagnostic messages (including warnings and errors) to. Log info can be useful to understand what might be going wrong if something isn't working. It's also useful to debug OpenTK.
Declaration
public ILogger? Logger { get; set; }
Property Value
Type | Description |
---|---|
ILogger |
MacOS
macOS backend specific options.
Declaration
public ToolkitOptions.MacOSOptions MacOS { get; set; }
Property Value
Type | Description |
---|---|
ToolkitOptions.MacOSOptions |
Windows
Windows backend specific options.
Declaration
public ToolkitOptions.WindowsOptions Windows { get; set; }
Property Value
Type | Description |
---|---|
ToolkitOptions.WindowsOptions |
X11
X11 backend specific options.
Declaration
public ToolkitOptions.X11Options X11 { get; set; }
Property Value
Type | Description |
---|---|
ToolkitOptions.X11Options |