OpenTK 4.8.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package OpenTK --version 4.8.0                
NuGet\Install-Package OpenTK -Version 4.8.0                
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="4.8.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTK --version 4.8.0                
#r "nuget: OpenTK, 4.8.0"                
#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.
// Install OpenTK as a Cake Addin
#addin nuget:?package=OpenTK&version=4.8.0

// Install OpenTK as a Cake Tool
#tool nuget:?package=OpenTK&version=4.8.0                

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 (179)

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

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.

GitHub repositories (83)

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.
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
ScottPlot/ScottPlot
Interactive plotting library for .NET
xamarin/Xamarin.Forms
Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
Version Downloads Last updated
5.0.0-pre.13 3,386 11/11/2024
5.0.0-pre.12 1,795 9/25/2024
5.0.0-pre.11 1,422 8/9/2024
5.0.0-pre.10 4,689 3/7/2024
5.0.0-pre.9 3,551 10/16/2023
5.0.0-pre.8 16,273 10/28/2022
5.0.0-pre.7 9,097 4/19/2022
5.0.0-pre.6 4,025 6/16/2021
5.0.0-pre.5 535 5/29/2021
5.0.0-pre.4 474 5/22/2021
5.0.0-pre.3 8,665 3/10/2021
5.0.0-pre.2 345 3/9/2021
5.0.0-pre.1 733 3/8/2021
4.9.3 19,139 12/10/2024
4.9.2 402 12/10/2024 4.9.2 is deprecated.
4.9.1 2,779 12/2/2024 4.9.1 is deprecated.
4.8.2 128,076 12/2/2023
4.8.1 22,504 9/27/2023
4.8.0 34,682 7/17/2023
4.7.7 62,460 2/23/2023
4.7.6 5,596 2/22/2023 4.7.6 is deprecated because it has critical bugs.
4.7.5 85,376 9/8/2022
4.7.4 35,601 6/17/2022
4.7.3 4,920 6/17/2022
4.7.2 1,403,552 5/3/2022
4.7.1 29,574 2/17/2022
4.6.7 80,978 9/13/2021
4.6.4 45,740 5/28/2021
4.6.3 18,460 3/27/2021
4.6.2 6,902 3/19/2021
4.6.1 6,379 3/19/2021
4.6.0 7,561 3/18/2021
4.5.0 81,830 2/14/2021
4.4.0 28,206 12/16/2020
4.3.0 124,423 11/21/2020
4.2.0 10,462 11/12/2020
4.1.0 7,907 11/6/2020
4.0.6 10,811 10/18/2020
4.0.5 5,794 10/18/2020
4.0.4 6,084 10/17/2020
4.0.3 6,201 10/14/2020
4.0.2 6,315 10/11/2020
4.0.1 7,350 10/6/2020
4.0.0 13,526 10/2/2020
4.0.0-pre9.10 496 10/1/2020
4.0.0-pre9.9 377 9/30/2020
4.0.0-pre9.8 392 9/29/2020
4.0.0-pre9.7 837 9/20/2020
4.0.0-pre9.6 514 9/14/2020
4.0.0-pre9.4 829 8/30/2020
4.0.0-pre9.3 559 8/21/2020
4.0.0-pre9.2 973 7/28/2020
4.0.0-pre9.1 20,472 4/24/2020
4.0.0-pre9 5,938 4/19/2020
4.0.0-pre8 5,668 4/18/2020
4.0.0-pre7 5,790 4/13/2020
4.0.0-pre6 6,126 4/10/2020
4.0.0-pre5 5,976 4/9/2020
4.0.0-pre4 5,884 4/6/2020
4.0.0-pre3 6,415 3/19/2020
4.0.0-pre2 5,884 3/19/2020
4.0.0-pre 5,861 3/19/2020
3.3.3 101,213 9/10/2022
3.3.2 50,894 7/20/2021
3.3.1 122,611 11/6/2020
3.3.0 26,281 11/6/2020
3.2.1 18,441 10/21/2020
3.2.0 144,180 4/6/2020
3.1.0 864,078 8/4/2019
3.0.1 2,806,282 7/6/2018
3.0.0 45,227 5/1/2018
3.0.0-pre 36,334 5/8/2017
2.0.0 276,064 9/23/2016
1.1.2349.61993 75,439 6/7/2016
1.1.2225 274,620 2/4/2016
1.1.1589.5942 135,114 7/18/2014
1.1.1589.5941 57,822 5/9/2014
1.1.1579.5793 3,858 4/29/2014
1.1.1508.5724 11,150 2/17/2014
1.1.1456.5398 6,183 12/27/2013
1.1.1161.61462 5,357 8/28/2013
1.1.1160.61462 9,969 3/7/2013

BREAKING: Renamed the `OpenTK.OpenAL` assembly to `OpenTK.Audio.OpenAL` to match the namespace. (@NogginBops)
BREAKING: Make OpenAL extensions nested classes of `AL` and `ALC` instead of being namespaces to more closely match the OpenGL bindings. (@NogginBops)
BREAKING: Removed `AL.BindBufferToSource`, `AL.GetSourceState`, `AL.GetSourceType`, and `ALC.GetAvailableSamples` that doesn't exist in the OpenAL API (use `AL.Get*` and `ALC.Get*` instead). (@Khhs167, @NogginBops)
BREAKING: `NativeWindow.Location`, `NativeWindow.Size`, and `NativeWindow.Bounds` now correctly refer to the external size and location of the window. (@NogginBops)
BREAKING: Removed a few functions marked `[Obsolete]` since at least `4.7.2` but some even older. (@NogginBops)
BREAKING: Removed `OpenTK.Core.Utils.Swap<T>`, use `MathHelper.Swap<T>` instead. (@NogginBops)
API: Rename `Box.Inflate` to `Box.Extend`, and mark `Box.Inflate` as obsolete so we can change the behavior of `Box.Inflate` in future versions. (@NogginBops)
API: Added `GameWindow.TimeSinceLastUpdate()` and `GameWindow.ResetTimeSinceLastUpdate()` which are useful when dealing with the modal move/resize loop on windows. (@NogginBops)
API: Added `NativeWindow.RawMouseInput` and `NativeWindow.SupportsRawMouseInput` for activating raw mouse input. (@NogginBops)
API: Added opt-in preliminary GLFW Wayland support through the environment variable `OPENTK_4_USE_WAYLAND` (it's broken when used with `GameWindow` or `NativeWindow` in this version). (@NogginBops)
API: Updated the `GameWindow` run loop to be much more accurate. Exposed `GameWindow.ExpectedSchedulerPeriod` to tell OpenTK how accurate `Thread.Sleep` can be expected to be (this defaults to good defaults for Windows, Linux, and macos). (@NogginBops)
FIX: Cleaned up some internal OpenGL definitions (doesn't change any bindings). (@BoyBayKiller)
API: Expose `MouseCursor.StandardShape` as public. (@NogginBops)
API: Add `VectorNi.EuclideanLengthSquared`. (@NogginBops)
FIX: Added helpful exception message to `NativeWindow` when running with trimmed assemblies with a workaround for the issue. (@NogginBops)
FIX: Fixed an issue where starting `NativeWindow` as a fullscreen window and then going to a normal window would throw an exception. (@NogginBops)