OpenTK.Windowing.Desktop 5.0.0-pre.13

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.13
                    
NuGet\Install-Package OpenTK.Windowing.Desktop -Version 5.0.0-pre.13
                    
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.13" />
                    
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.13" />
                    
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.13
                    
#r "nuget: OpenTK.Windowing.Desktop, 5.0.0-pre.13"
                    
#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.13
                    
#: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.13&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=OpenTK.Windowing.Desktop&version=5.0.0-pre.13&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,775 8/24/2025
5.0.0-pre.14 734 7/11/2025
5.0.0-pre.13 7,028 11/11/2024
5.0.0-pre.12 2,315 9/25/2024
5.0.0-pre.11 1,485 8/9/2024
5.0.0-pre.10 5,737 3/7/2024
5.0.0-pre.9 3,166 10/16/2023
5.0.0-pre.8 17,195 10/28/2022
5.0.0-pre.7 9,465 4/19/2022
5.0.0-pre.6 4,476 6/16/2021
5.0.0-pre.5 695 5/29/2021
5.0.0-pre.4 645 5/22/2021
5.0.0-pre.3 8,702 3/10/2021
5.0.0-pre.2 496 3/9/2021
5.0.0-pre.1 1,004 3/8/2021
4.9.4 322,319 3/17/2025
4.9.3 55,233 12/10/2024
4.9.2 804 12/10/2024
4.9.1 4,504 12/2/2024
4.8.2 230,824 12/2/2023
4.8.1 31,963 9/27/2023
4.8.0 54,030 7/17/2023
4.7.7 75,244 2/23/2023
4.7.6 8,864 2/22/2023
4.7.5 86,609 9/8/2022
4.7.4 70,912 6/17/2022
4.7.3 5,906 6/17/2022
4.7.2 2,382,708 5/3/2022
4.7.1 34,510 2/17/2022
4.7.0 6,047 2/16/2022
4.6.7 91,336 9/13/2021
4.6.6 5,643 9/13/2021
4.6.5 5,499 9/13/2021
4.6.4 84,450 5/28/2021
4.6.3 18,451 3/27/2021
4.6.2 7,711 3/19/2021
4.6.1 7,450 3/19/2021
4.6.0 8,952 3/18/2021
4.5.0 83,220 2/14/2021
4.4.0 29,547 12/16/2020
4.3.0 220,899 11/21/2020
4.2.0 7,147 11/12/2020
4.1.0 8,309 11/6/2020
4.0.6 11,199 10/18/2020
4.0.5 6,313 10/18/2020
4.0.4 6,538 10/17/2020
4.0.3 6,533 10/14/2020
4.0.2 8,913 10/11/2020
4.0.1 7,876 10/6/2020
4.0.0 15,486 10/2/2020
4.0.0-pre9.10 702 10/1/2020
4.0.0-pre9.9 548 9/30/2020
4.0.0-pre9.8 538 9/29/2020
4.0.0-pre9.7 981 9/20/2020
4.0.0-pre9.6 658 9/14/2020
4.0.0-pre9.5 557 9/14/2020
4.0.0-pre9.4 969 8/30/2020

Changed `MarshalTk.MarshalStringArrayToAnsiStringArrayPtr` to take `ReadOnlySpan&lt;string&gt;` instead of `Span&lt;string&gt;`. (@NogginBops)
Vulkan bindings changes**:
Add default parameterless constructor to all Vulkan structs so that default member values can be applied (mostly to automatically set `sType`). (@NogginBops)
Made the Vulkan example project render a triangle. (@NogginBops)
OpenGL bindings changes**:
Skip `ref readonly` for singular `Delete*()` functions. (@NogginBops)
Added generated EGL bindings containing all EGL and ANGLE extensions. (@NogginBops)
Fixed missing documentation on some OpenGL functions. (@NogginBops)
PAL2 changes**:
A lot of documentation improvements. (@NogginBops)
Added `Toolkit.Window.Get/SetTransparencyMode` to support different modes for window transparency. (@NogginBops)
Add `reason` parameter to `Toolkit.Shell.AllowScreenSaver`. (@NogginBops)
Add `Toolkit.Shell.IsScreenSaverAllowed` to be able to check if the screen saver is disabled. (@NogginBops)
Added `OpenGLGraphicsApiHints.SupportsTransparentFramebufferX11` to mark if the context values selector should look for formats that support framebuffer transparency when on X11 (framebuffer transparency is always supported on Windows and macOS). (@NogginBops)
Added `ContextValues.SupportsFramebufferTransparency` to check if a particular format supports framebuffer transparency (only relevant on X11). (@NogginBops)
Updated `ContextValues.DefaultValuesSelector` to handle `SupportsFramebufferTransparency`. (@NogginBops)
Added `Toolkit.Uninit()` for usecases where unloading OpenTK is useful (don't call this function on application exit). (@NogginBops)
Added `IPalComponent.Uninitialize()` and implemented it for every component on every platform to make `Toolkit.Uninit()` possible. (@NogginBops)
win32:
macOS:
Implement `MacOSVulkanComponent` using MoltenVK. (@NogginBops)
Made dialogs proper window sheets by default. (@NogginBops)
Added `MacOSDialogComponent.Show*NoWindow` functions for showing dialogs not attached to any window. (@NogginBops)
x11:
Fixed glX dll resolution to be the same as before 5.0-pre.12 (@NogginBops)
Fixed memory leak in `X11KeyboardComponent`. (@NogginBops)
ANGLE:
Switched implementation to use the generated EGL bindings. (@NogginBops)