OpenTK 3.1.0

The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.

There is a newer version of this package available.
See the version list below for details.
Install-Package OpenTK -Version 3.1.0
dotnet add package OpenTK --version 3.1.0
<PackageReference Include="OpenTK" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTK --version 3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OpenTK, 3.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenTK as a Cake Addin
#addin nuget:?package=OpenTK&version=3.1.0

// Install OpenTK as a Cake Tool
#tool nuget:?package=OpenTK&version=3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

General:
* Fixed problem where OpenGL 3.2 contexts where created using the wrong flags, causing renderdoc error (#790).
* Fixed problem where Vector3.Transform(Quaternion) returned incorrect results ( #776 ).
* SDL backend no longer handles exceptions thrown in input events ( #735 #737 )
* Updated gamepadd mappings for SDL (#927).
* Alt + numpad now results in correct data being passed to OnKeyPress (f17fa4b).
Windows:
* Keypress events are using CharSet.Unicode to allow for UTF characters.
* If GetMouseMovePointsEx returns "access denied" we fall back to the old mouse move handling ( #883 ).
* Detect joysticks which declare no valid controls &amp; ignore (Cherry-picked from #819 ).
* Fix where an invalid joystick axis overwrites the first joystick axis. (Cherry-picked from #819 ).
* Makes the ArbCreateContext return valid settings ( #754 ).
MacOS:
* Unprocessed events no longer put the application into a partially-activated state ( #732 ).
* Multiple fixes under PR #914:
* NativeWindow.CursorVisible no longer resets the mouse position ( #668 ).
* Custom cursors should work now ( e598ab2 ).
* Command key is now a valid modifier ( 286119e ).
* Fix where KeyDown events would trigger KeyPress when they shouldn't, e.g. when pasting ( ea3dd48 ).
* KeyPress now receives the correct keycodes even if modifiers where held when typing ( 91b03dd ).
Internal:
* Generator.Build now uses invariant culture for parsing avoiding an exception when the local system uses comma as decimal separator ( #750 ).
* Removed weird assembly version check fixing #710.
* Fixed Xamarin project so that it compiles ( See #725 and b16e7fa ).
* Matrix4 uses unsafe to invert for performace ( #719 ).
* Removed link to gitter chat, discord is where it's at ( #770 ).

Dependencies

This package has no dependencies.

NuGet packages (112)

Showing the top 5 NuGet packages that depend on OpenTK:

Package Downloads
OpenTK.GLControl
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research. OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
Xamarin.Forms.Platform.WPF
Xamarin Forms Renderer to build native UIs for WPF
EmguCV
Emgu CV is a cross platform .Net wrapper to the OpenCV image processing library. Allowing OpenCV functions to be called from .NET compatible languages such as C#, VB, VC++, IronPython etc. The wrapper can be compiled in Mono and run on Windows, Linux, Mac OS X, iPhone, iPad and Android devices.
SkiaSharp.Views.WindowsForms
SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.
Xamarin.Forms.Platform.GTK
Xamarin Forms Renderer to build native UIs for GTK

GitHub repositories (49)

Showing the top 5 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.
xamarin/Xamarin.Forms
Xamarin.Forms Official Home
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.
TASVideos/BizHawk
BizHawk is a multi-system emulator written in C#. BizHawk provides nice features for casual gamers such as full screen, and joypad support in addition to full rerecording and debugging tools for all system cores.

Version History

Version Downloads Last updated
5.0.0-pre.6 395 6/16/2021
5.0.0-pre.5 235 5/29/2021
5.0.0-pre.4 190 5/22/2021
5.0.0-pre.3 808 3/10/2021
5.0.0-pre.2 120 3/9/2021
5.0.0-pre.1 291 3/8/2021
4.6.4 4,964 5/28/2021
4.6.3 7,593 3/27/2021
4.6.2 1,676 3/19/2021
4.6.1 523 3/19/2021
4.6.0 355 3/18/2021
4.5.0 8,141 2/14/2021
4.4.0 10,694 12/16/2020
4.3.0 6,417 11/21/2020
4.2.0 2,544 11/12/2020
4.1.0 1,733 11/6/2020
4.0.6 2,958 10/18/2020
4.0.5 353 10/18/2020
4.0.4 369 10/17/2020
4.0.3 698 10/14/2020
4.0.2 776 10/11/2020
4.0.1 1,314 10/6/2020
4.0.0 2,139 10/2/2020
4.0.0-pre9.10 239 10/1/2020
4.0.0-pre9.9 190 9/30/2020
4.0.0-pre9.8 191 9/29/2020
4.0.0-pre9.7 621 9/20/2020
4.0.0-pre9.6 288 9/14/2020
4.0.0-pre9.4 595 8/30/2020
4.0.0-pre9.3 364 8/21/2020
4.0.0-pre9.2 690 7/28/2020
4.0.0-pre9.1 4,427 4/24/2020
4.0.0-pre9 579 4/19/2020
4.0.0-pre8 363 4/18/2020
4.0.0-pre7 432 4/13/2020
4.0.0-pre6 411 4/10/2020
4.0.0-pre5 381 4/9/2020
4.0.0-pre4 440 4/6/2020
4.0.0-pre3 680 3/19/2020
4.0.0-pre2 296 3/19/2020
4.0.0-pre 356 3/19/2020
3.3.2 328 7/20/2021
3.3.1 17,031 11/6/2020
3.3.0 3,286 11/6/2020
3.2.1 1,355 10/21/2020
3.2.0 68,955 4/6/2020
3.1.0 208,109 8/4/2019
3.0.1 522,666 7/6/2018
3.0.0 30,674 5/1/2018
3.0.0-pre 22,214 5/8/2017
2.0.0 209,340 9/23/2016
1.1.2349.61993 51,080 6/7/2016
1.1.2225 149,904 2/4/2016
1.1.1589.5942 91,272 7/18/2014
1.1.1589.5941 52,601 5/9/2014
1.1.1579.5793 1,490 4/29/2014
1.1.1508.5724 5,118 2/17/2014
1.1.1456.5398 3,491 12/27/2013
1.1.1161.61462 2,612 8/28/2013
1.1.1160.61462 3,997 3/7/2013
Show less