OpenTK.Platform.Native 5.0.0-pre.10

Prefix Reserved
This is a prerelease version of OpenTK.Platform.Native.
dotnet add package OpenTK.Platform.Native --version 5.0.0-pre.10
                    
NuGet\Install-Package OpenTK.Platform.Native -Version 5.0.0-pre.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenTK.Platform.Native" Version="5.0.0-pre.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenTK.Platform.Native" Version="5.0.0-pre.10" />
                    
Directory.Packages.props
<PackageReference Include="OpenTK.Platform.Native" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OpenTK.Platform.Native --version 5.0.0-pre.10
                    
#r "nuget: OpenTK.Platform.Native, 5.0.0-pre.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OpenTK.Platform.Native@5.0.0-pre.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OpenTK.Platform.Native&version=5.0.0-pre.10&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=OpenTK.Platform.Native&version=5.0.0-pre.10&prerelease
                    
Install as a Cake Tool

Platform support for OpenTK, contains backends for Windows, Linux, and macOS.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0-pre.10 5,249 3/7/2024
5.0.0-pre.9 3,123 10/16/2023

Merged OpenTK 4.8.2 onto 5.0-pre.9. (@NogginBops)
This means that all changes from 4.8.2 are also in this release.
Moved `OpenTK.Color3` to `OpenTK.Mathematics.Color3`. (@NogginBops)
Fix `NativeWindow` so it properly loads OpenGL bindings without crashing. (@NogginBops)
Fix bindings generator locale issue that caused wrong results on certain locales. (@utkumaden)
Changed the name of some enum group to be more like OpenTK 4 groups.
Notable examples are `BufferTargetARB` -&gt; `BufferTarget` and `BlendEquationModeEXT` -&gt; `BlendEquationMode`. (@NogginBops)
Fix WGL and GLX bindings and loading. (@NogginBops)
Change EGL bindings to `DllImport` for `libEGL` instead of `libEGL.dll`. (@NogginBops)
Made bindings generator correctly bind function taking GLX opaque struct pointers like `Display*`. (@NogginBops)
Fixed WGL `GetProcAddress` bindings to correctly marshal strings. (@NogginBops)
Platform Abstraction Layer 2.0 (PAL2):
Removed internal locks from `EventQueue`. (@utkumaden)
Add `IWindowComponent.GetBounds/SetBounds` + client bounds versions. (@NogginBops)
Add functions for getting native handles from PAL2 handles. (@NogginBops)
Added functions and event data for keyboard modifiers. (@NogginBops)
Win32: Fix sticky RightControl, LeftAlt, and RightAlt keys. (@NogginBops)
Win32: Fix duplicate `TextInput` events when using IME. (@NogginBops)
Win32: Fix `CanIncludeInClipboardHistory` and `CanUploadToCloudClipboard`. (@NogginBops)
X11: Implemented `X11KeyboardComponent.GetKeyboardModifiers()`. (@NogginBops)
X11: Implemented `X11MouseComponent.GetMouseState()`. (@NogginBops)
X11: Implemented `X11ShellComponent.GetPreferredTheme()`. (@NogginBops)
X11: Implemented `ClipboardUpdate`, `DisplayConnectionChanged`, `FileDrop`, `KeyDown`, and `KeyUp` events. (@NogginBops)
macOS: Implemented `MacOSWindowComponent.GetIcon/SetIcon`. (@NogginBops)
macOS: Implemented `MacOSWindowComponent.SetSize/SetClientSize`. (@NogginBops)
macOS: Implemented `MacOSWindowComponent.[Set/Get][Max/Min]ClientSize`. (@NogginBops)
macOS: Implemented `MacOSWindowComponent.GetDisplay`. (@NogginBops)
macOS: Implemented window hit test callback for `HitType.Draggable`. (@NogginBops)
macOS: Implemented `MacOSWindowComponent.SetCursor`. (@NogginBops)
macOS: Implemented `MacOSMouseComponent.SetPosition`. (@NogginBops)
macOS: Implemented `MacOSDisplayComponent` fully. (@NogginBops)
macOS: Implemented `MacOSCursorComponent` fully. (@NogginBops)
macOS: Implemented basic `KeyDown`/`KeyUp`. (@NogginBops)
macOS: Implemented `MacOSKeyboardComponent.GetKeyboardState/GetKeyboardModifiers`. (@NogginBops)
macOS: Implemented `MacOSIconComponent` fully. (@NogginBops)
macOS: Implemented `MacOSShellComponent` fully. (@NogginBops)
macOS: Implemented `Focus`, `WindowMove`/`WindowResize`, `WindowModeChange`, `MouseEnter`, `KeyDown`/`KeyUp`, `TextInput`, `ThemeChange`, and `DisplayConnectionChanged` events. (@NogginBops)
ANGLE: Made `ANGLEOpenGLComponent` work with the X11 backend. (@NogginBops)