Show / Hide Table of Contents

Interface IPalComponent

Common interface for all platform abstraction layer components.

Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public interface IPalComponent

Properties

Logger

The logger that this component uses to log diagnostic messages.

Declaration
ILogger? Logger { get; set; }
Property Value
Type Description
ILogger
See Also
ILogger
Logger

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.

See Also
ToolkitOptions
Init(ToolkitOptions)

Uninitialize()

Uninitialize the component. Frees any native resources used by the component.

Declaration
void Uninitialize()
See Also
Uninit()
In this article
Back to top Generated by DocFX