OpenTK.Windowing.Desktop 5.0.0-pre.12

Prefix Reserved
This is a prerelease version of OpenTK.Windowing.Desktop.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package OpenTK.Windowing.Desktop --version 5.0.0-pre.12
                    
NuGet\Install-Package OpenTK.Windowing.Desktop -Version 5.0.0-pre.12
                    
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.Windowing.Desktop" Version="5.0.0-pre.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenTK.Windowing.Desktop" Version="5.0.0-pre.12" />
                    
Directory.Packages.props
<PackageReference Include="OpenTK.Windowing.Desktop" />
                    
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.Windowing.Desktop --version 5.0.0-pre.12
                    
#r "nuget: OpenTK.Windowing.Desktop, 5.0.0-pre.12"
                    
#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.Windowing.Desktop@5.0.0-pre.12
                    
#: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.Windowing.Desktop&version=5.0.0-pre.12&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=OpenTK.Windowing.Desktop&version=5.0.0-pre.12&prerelease
                    
Install as a Cake Tool

An abstraction over OpenTK.GraphicsLibraryFramework to provide a ready-to-go easy-to-use windowing and input abstraction.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on OpenTK.Windowing.Desktop:

Package Downloads
OpenTK

The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES, OpenAL and OpenCL. It runs on all major platforms and powers hundreds of apps, games and scientific research. It provides bindings for GLFW windowing, input and a game loop, and is the perfect start for your own game engine. OpenTK comes with simple and easy to follow tutorials for learning *modern* OpenGL. These are written by the community and represent all of the best practices to get you started. Learn how to use OpenTK here: https://opentk.net/learn/index.html Sample projects that accompany the tutorial can be found here: https://github.com/opentk/LearnOpenTK We have a very active discord server, if you need help, want to help, or are just curious, come join us! https://discord.gg/6HqD48s

OpenTK.GLControl

A WinForms control designed to wrap the OpenTK 4.x APIs.

Bearded.Utilities

Set of basic utilities on top of OpenTK, mostly aimed at games.

OpenTK.WinForms

A WinForms control designed to wrap the OpenTK 4.x APIs.

DeepMeta.DeepEditor.Common

Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on OpenTK.Windowing.Desktop:

Repository Stars
BAndysc/WoWDatabaseEditor
Integrated development environment (IDE), an editor for Smart Scripts (SAI/smart_scripts) for TrinityCore based servers. Cmangos support work in progress. Featuring a 3D view built with OpenGL and custom ECS framework
seto77/ReciPro
The software ReciPro makes various crystallographic calculations, visualizes a crystal structure, simulates a diffraction pattern and high-resolution TEM image, indexes diffraction spots, plots stereographic projection, and so on.
anegostudios/vsapi
Source code of the vintage story api module.
Version Downloads Last Updated
5.0.0-pre.15 1,776 8/24/2025
5.0.0-pre.14 737 7/11/2025
5.0.0-pre.13 7,032 11/11/2024
5.0.0-pre.12 2,316 9/25/2024
5.0.0-pre.11 1,486 8/9/2024
5.0.0-pre.10 5,740 3/7/2024
5.0.0-pre.9 3,166 10/16/2023
5.0.0-pre.8 17,196 10/28/2022
5.0.0-pre.7 9,466 4/19/2022
5.0.0-pre.6 4,477 6/16/2021
5.0.0-pre.5 696 5/29/2021
5.0.0-pre.4 646 5/22/2021
5.0.0-pre.3 8,703 3/10/2021
5.0.0-pre.2 497 3/9/2021
5.0.0-pre.1 1,005 3/8/2021
4.9.4 323,417 3/17/2025
4.9.3 55,277 12/10/2024
4.9.2 805 12/10/2024
4.9.1 4,505 12/2/2024
4.8.2 230,938 12/2/2023
4.8.1 31,966 9/27/2023
4.8.0 54,054 7/17/2023
4.7.7 75,249 2/23/2023
4.7.6 8,866 2/22/2023
4.7.5 86,610 9/8/2022
4.7.4 70,915 6/17/2022
4.7.3 5,907 6/17/2022
4.7.2 2,383,526 5/3/2022
4.7.1 34,512 2/17/2022
4.7.0 6,048 2/16/2022
4.6.7 91,346 9/13/2021
4.6.6 5,643 9/13/2021
4.6.5 5,500 9/13/2021
4.6.4 84,453 5/28/2021
4.6.3 18,452 3/27/2021
4.6.2 7,712 3/19/2021
4.6.1 7,451 3/19/2021
4.6.0 8,953 3/18/2021
4.5.0 83,220 2/14/2021
4.4.0 29,548 12/16/2020
4.3.0 221,031 11/21/2020
4.2.0 7,148 11/12/2020
4.1.0 8,310 11/6/2020
4.0.6 11,200 10/18/2020
4.0.5 6,314 10/18/2020
4.0.4 6,539 10/17/2020
4.0.3 6,536 10/14/2020
4.0.2 8,914 10/11/2020
4.0.1 7,877 10/6/2020
4.0.0 15,488 10/2/2020
4.0.0-pre9.10 702 10/1/2020
4.0.0-pre9.9 549 9/30/2020
4.0.0-pre9.8 538 9/29/2020
4.0.0-pre9.7 982 9/20/2020
4.0.0-pre9.6 659 9/14/2020
4.0.0-pre9.5 558 9/14/2020
4.0.0-pre9.4 969 8/30/2020

Vulkan bindings changes:**
Add links to relevant documentation in Vulkan documentation strings. (@NogginBops)
Add `[requires: v1.0 | KHR_extension]` strings that document version and extension requirements for function, structs, and enums. (@NogginBops)
Updated Vulkan to 1.3.295. (@NogginBops)
OpenGL bindings changes:**
Switched to using `ref readonly` instead of `in` in OpenGL bindings. (@NogginBops)
Improvements to glX and WGL bindings. (@NogginBops)
PAL2 changes:**
Renamed `Toolkit.Mouse.GetPosition` to `Toolkit.Mouse.GetGlobalPosition`. (@NogginBops)
Renamed `Toolkit.Mouse.SetPosition` to `Toolkit.Mouse.SetGlobalPosition`. (@NogginBops)
Renamed `Toolkit.Mouse.GetState` to `Toolkit.Mouse.GetGlobalState`. (@NogginBops)
Added `Toolkit.Mouse.GetPosition` and `Toolkit.Mouse.GetState` for getting window relative mouse state. (@NogginBops)
Added `Toolkit.Clipboard.SetClipboardBitmap`. (@NogginBops)
Added `Toolkit.Window.ClientToFramebuffer` and `Toolkit.Window.FramebufferToClient`. (@NogginBops)
Switched to using `VectorN` types for most positions and sizes. (@NogginBops)
Renamed `MouseMoveEventArgs.Position` to `MouseMoveEventArgs.ClientPosition`. (@NogginBops)
win32:
win32: Switched `OpenGLComponent` to use the generated WGL bindings. (@NogginBops)
macOS:
macOS: Added `MacOSShellComponent.NSLog` to be able to write to the macOS system log. (@NogginBops)
x11:
x11: Implemented `X11VulkanComponent` (`Toolkit.Vulkan`). (@NogginBops)
x11: Implemented `X11ClipboardComponent.SetClipboardText`. (@NogginBops)
x11: Added `IPngCodec` and `X11ClipboardComponent.SetPngCodec` interface to `X11ClipboardComponent` for optional bitmap support on linux. (@NogginBops)
x11: Implemented `HitTest` and `Toolkit.Window.SetHitTest`. (@NogginBops)
x11: Improve `Toolkit.Display` api performance by using `XRRGetScreenResourcesCurrent` instead of `XRRGetScreenResources`. (@NogginBops)
x11: Fixed issue where pressing cancel in a file dialog would return a list with one empty string in it, instead of null. (@NogginBops)
x11: Fixed issue where setting a window to Minimized, Maximized, or Fullscreen directly from the Hidden state didn't actually show the window. (@NogginBops)
x11: Fixed issue where the values for `QueuedAfterFlush` and `QueuedAfterReading` where swapped causing lots of event issues on linux. (@NogginBops)
x11: Switched `X11OpenGLComponent` to use the generated glX bindings. (@NogginBops)
x11: Fixed `Toolkit.Window.GetMode` crash when a window doesn't have a `WM_STATE` property set. (@NogginBops)
x11: Reduce potential memory leaks. (@NogginBops)