OpenTK 5.0.0-pre.14

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

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (190)

Showing the top 5 NuGet packages that depend on OpenTK:

Package Downloads
Xamarin.Forms.Platform.WPF

Xamarin Forms Renderer to build native UIs for WPF

SkiaSharp.Views.WPF

SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.

SkiaSharp.Views.WindowsForms

SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.

ScottPlot.WPF

User controls for displaying interactive plots in WPF applications

OpenTK.GLWpfControl

A native WPF control for OpenTK 5.X.

GitHub repositories (87)

Showing the top 20 popular GitHub repositories that depend on OpenTK:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Perfare/AssetStudio
AssetStudio is a tool for exploring, extracting and exporting assets and assetbundles.
ScottPlot/ScottPlot
Interactive plotting library for .NET
xamarin/Xamarin.Forms
Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
space-wizards/space-station-14
A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
4sval/FModel
Unreal Engine Archives Explorer
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
ValveResourceFormat/ValveResourceFormat
Source 2 Viewer is a powerful tool that allows you to browse VPK archives, view, extract, and decompile Source 2 assets, including maps, models, materials, textures, sounds, and more.
videolan/libvlcsharp
Cross-platform .NET/Mono bindings for LibVLC
RazTools/Studio
Modded AssetStudio with new features
swharden/Csharp-Data-Visualization
Resources for visualizing data using C# and the .NET platform
BluestormDNA/ProjectPSX
Experimental C# Playstation Emulator
Wouterdek/NodeNetwork
A C# library with a WPF node editor component based on ReactiveUI
EDDiscovery/EDDiscovery
Captains log and 3d star map for Elite Dangerous
AgOpenGPS-Official/AgOpenGPS
Ag Precision Mapping, Section Control and Guidance Software
ThisIsNotRocketScience/GerberTools
Tools to load/edit/create/panelizer sets of gerber files
maxim-saplin/CrossPlatformDiskTest
Windows, macOS and Android storage (HDD, SSD, RAM) speed testing/performance benchmarking app
john-h-k/MathSharp
A vector and matrix library written in C# using hardware intrinsics
AndreiMisiukevich/CardView
CardsView | CarouselView | CoverflowView | CubeView for Xamarin.Forms
Version Downloads Last Updated
5.0.0-pre.15 785 8/24/2025
5.0.0-pre.14 685 7/11/2025
5.0.0-pre.13 6,855 11/11/2024
5.0.0-pre.12 2,327 9/25/2024
5.0.0-pre.11 1,585 8/9/2024
5.0.0-pre.10 5,614 3/7/2024
5.0.0-pre.9 3,712 10/16/2023
5.0.0-pre.8 17,346 10/28/2022
5.0.0-pre.7 9,372 4/19/2022
5.0.0-pre.6 4,251 6/16/2021
5.0.0-pre.5 702 5/29/2021
5.0.0-pre.4 642 5/22/2021
5.0.0-pre.3 8,854 3/10/2021
5.0.0-pre.2 514 3/9/2021
5.0.0-pre.1 928 3/8/2021
4.9.4 117,367 3/17/2025
4.9.3 33,898 12/10/2024
4.9.2 1,070 12/10/2024 4.9.2 is deprecated.
4.9.1 4,575 12/2/2024 4.9.1 is deprecated.
4.8.2 181,514 12/2/2023
4.8.1 23,934 9/27/2023
4.8.0 50,024 7/17/2023
4.7.7 73,695 2/23/2023
4.7.6 8,346 2/22/2023 4.7.6 is deprecated because it has critical bugs.
4.7.5 89,015 9/8/2022
4.7.4 39,715 6/17/2022
4.7.3 5,277 6/17/2022
4.7.2 2,231,146 5/3/2022
4.7.1 30,791 2/17/2022
4.6.7 91,750 9/13/2021
4.6.4 47,252 5/28/2021
4.6.3 19,246 3/27/2021
4.6.2 7,372 3/19/2021
4.6.1 6,836 3/19/2021
4.6.0 8,428 3/18/2021
4.5.0 84,216 2/14/2021
4.4.0 29,939 12/16/2020
4.3.0 197,428 11/21/2020
4.2.0 10,871 11/12/2020
4.1.0 8,391 11/6/2020
4.0.6 11,262 10/18/2020
4.0.5 6,125 10/18/2020
4.0.4 6,421 10/17/2020
4.0.3 6,538 10/14/2020
4.0.2 6,877 10/11/2020
4.0.1 7,762 10/6/2020
4.0.0 14,795 10/2/2020
4.0.0-pre9.10 675 10/1/2020
4.0.0-pre9.9 556 9/30/2020
4.0.0-pre9.8 570 9/29/2020
4.0.0-pre9.7 1,022 9/20/2020
4.0.0-pre9.6 692 9/14/2020
4.0.0-pre9.4 1,010 8/30/2020
4.0.0-pre9.3 748 8/21/2020
4.0.0-pre9.2 1,150 7/28/2020
4.0.0-pre9.1 21,150 4/24/2020
4.0.0-pre9 6,152 4/19/2020
4.0.0-pre8 5,879 4/18/2020
4.0.0-pre7 6,012 4/13/2020
4.0.0-pre6 6,338 4/10/2020
4.0.0-pre5 6,179 4/9/2020
4.0.0-pre4 6,106 4/6/2020
4.0.0-pre3 6,617 3/19/2020
4.0.0-pre2 6,087 3/19/2020
4.0.0-pre 6,096 3/19/2020
3.3.3 134,526 9/10/2022
3.3.2 53,186 7/20/2021
3.3.1 240,030 11/6/2020
3.3.0 73,738 11/6/2020
3.2.1 20,376 10/21/2020
3.2.0 148,581 4/6/2020
3.1.0 997,452 8/4/2019
3.0.1 2,933,090 7/6/2018
3.0.0 46,736 5/1/2018
3.0.0-pre 36,697 5/8/2017
2.0.0 286,365 9/23/2016
1.1.2349.61993 79,851 6/7/2016
1.1.2225 292,064 2/4/2016
1.1.1589.5942 138,522 7/18/2014
1.1.1589.5941 58,466 5/9/2014
1.1.1579.5793 4,284 4/29/2014
1.1.1508.5724 11,782 2/17/2014
1.1.1456.5398 6,682 12/27/2013
1.1.1161.61462 5,866 8/28/2013
1.1.1160.61462 10,900 3/7/2013

Added generic math interfaces to all vector and matrix types. (@vovatrykoz)
Add boolean vectors `VectorNb` and comparison operators for vectors. (@NogginBops)
Add `scalar + vecor`, `scalar - vector`, and `scalar / vector` operator overloads for vectors. (@BoyBaykiller)
Add `JoystickState.GUID`. (@DamensIsPoggers)
Merged latest OpenTK 4.9.4 changes onto 5.0-pre.14. (@NogginBops)
Mark many properties and functions as `readonly` in math library. (@BoyBaykiller)
Made GLFW loading compatible with `IlcDisableReflection. (@BoyBaykiller)
Vulkan bindings changes**:
Update vulkan bindings to 1.4.321. (@NogginBops)
Add `InstanceDispatchTable` and `DeviceDispatchTable` dispatch tables for more efficiently calling vulkan functions. (@NogginBops)
Fix aliased structs so that they actually contain the correct memebers. (@NogginBops)
Functions, handles, structs and enums now have correct version and deprecation info documented. (@NogginBops)
Annotated structs and enums with functions that use them. (@NogginBops)
Fix XML escape codes in documentation comments. (@NogginBops)
OpenGL bindings changes**:
Add `string[]` overloads to functions where applicable. (@NogginBops)
Remove `VertexBufferObjectUsage` in favor of `BufferUsageHint`. (@NogginBops)
PAL2 changes**:
Add `Toolkit.Window.PostUserEvent` multi-threaded API on all plaforms for posting events to the main thread (useful with `waitForEvents = true`). (@NogginBops)
Add `ToolkitOptions.FeatureFlags` for specifying if pal2 should load OpenGL and/or Vulkan components. (@NogginBops)
win32:
Fix raw mouse motion. (@JoeTwizzle)
Add platform specific api for setting window taskbar progress, `ShellComponent.SetProgressStatus`. (@NogginBops)
Fix transitioning from `WindowState.Hidden` to `WindowState.*Fullscreen` directly. (@NogginBops)
macOS:
Support for IME text input though `Toolkit.Keyboard.BeginIme`, `Toolkit.Keyboard.SetImeRectangle`, and `Toolkit.Keyboard.EndIme`. (@NogginBops)
Add platform specific api for setting window taskbar progress, `ShellComponent.SetProgressStatus`. (@NogginBops)
Support `waitForEvents = true` in `Toolkit.Window.ProcessEvents`. (@NogginBops)
Animated cursors are not automatically handled, `MacOSCursorComponent.UpdateAnimation` is removed. (@NogginBops)
Moved `MacOSWindowComponent.SetDockIcon` to `MacOSShellComponent.SetDockIcon`. (@NogginBops)
x11:
Fix `DllNotFoundException` for `Xrender`. (@NogginBops)
Make it possible to hide the cursor. (@NogginBops)
Support for IME text input though `Toolkit.Keyboard.BeginIme`, `Toolkit.Keyboard.SetImeRectangle`, and `Toolkit.Keyboard.EndIme`. (@NogginBops)
Fix window shadow for opaque windows with transparent Visuals on Ubuntu. (@NogginBops)
Fix `Toolkit.Window.SetCursorCaptureMode` when running on XWayland. (@NogginBops)
Fix `Toolkit.Dialog` with newer versions of Zenity. (@NogginBops)