Show / Hide Table of Contents

Class ToolkitOptions

Options used to initialize OpenTK with.

Inheritance
object
ToolkitOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Generated by DocFX