Interface IPalComponent
Common interface for all platform abstraction layer components.
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public interface IPalComponent
Properties
Logger
Provides a logger for this component.
Declaration
ILogger? Logger { get; set; }
Property Value
Type | Description |
---|---|
ILogger |
Name
Name of the abstraction layer component.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Provides
Specifies which PAL components this object provides.
Declaration
PalComponents Provides { get; }
Property Value
Type | Description |
---|---|
PalComponents |
Methods
Initialize(ToolkitOptions)
Initialize the component.
Declaration
void Initialize(ToolkitOptions options)
Parameters
Type | Name | Description |
---|---|---|
ToolkitOptions | options | The options to initialize the component with. |