Delegate ContextValueSelector
Delegate used to select appropriate context values to use.
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public delegate int ContextValueSelector(IReadOnlyList<ContextValues> options, ContextValues requested, ILogger? logger)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyList<ContextValues> | options | A list of possible context values. |
ContextValues | requested | The user requested context values. |
ILogger | logger | A logger to use for logging. |
Returns
Type | Description |
---|---|
int | The index of the context value to use. |