OpenTK 4.8.2

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

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

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

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

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!!
xamarin/Xamarin.Forms
Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
ScottPlot/ScottPlot
Interactive plotting library for .NET
Version Downloads Last updated
5.0.0-pre.13 597 11/11/2024
5.0.0-pre.12 1,372 9/25/2024
5.0.0-pre.11 1,364 8/9/2024
5.0.0-pre.10 4,051 3/7/2024
5.0.0-pre.9 3,502 10/16/2023
5.0.0-pre.8 15,436 10/28/2022
5.0.0-pre.7 9,007 4/19/2022
5.0.0-pre.6 3,976 6/16/2021
5.0.0-pre.5 505 5/29/2021
5.0.0-pre.4 449 5/22/2021
5.0.0-pre.3 8,641 3/10/2021
5.0.0-pre.2 311 3/9/2021
5.0.0-pre.1 677 3/8/2021
4.8.2 102,738 12/2/2023
4.8.1 21,851 9/27/2023
4.8.0 32,025 7/17/2023
4.7.7 60,200 2/23/2023
4.7.6 5,399 2/22/2023 4.7.6 is deprecated because it has critical bugs.
4.7.5 83,820 9/8/2022
4.7.4 34,116 6/17/2022
4.7.3 4,803 6/17/2022
4.7.2 1,143,761 5/3/2022
4.7.1 28,964 2/17/2022
4.6.7 75,821 9/13/2021
4.6.4 44,307 5/28/2021
4.6.3 18,313 3/27/2021
4.6.2 6,823 3/19/2021
4.6.1 6,262 3/19/2021
4.6.0 7,287 3/18/2021
4.5.0 81,499 2/14/2021
4.4.0 27,609 12/16/2020
4.3.0 99,508 11/21/2020
4.2.0 10,319 11/12/2020
4.1.0 7,765 11/6/2020
4.0.6 10,698 10/18/2020
4.0.5 5,717 10/18/2020
4.0.4 6,022 10/17/2020
4.0.3 6,143 10/14/2020
4.0.2 6,216 10/11/2020
4.0.1 7,205 10/6/2020
4.0.0 12,747 10/2/2020
4.0.0-pre9.10 460 10/1/2020
4.0.0-pre9.9 351 9/30/2020
4.0.0-pre9.8 368 9/29/2020
4.0.0-pre9.7 810 9/20/2020
4.0.0-pre9.6 491 9/14/2020
4.0.0-pre9.4 807 8/30/2020
4.0.0-pre9.3 537 8/21/2020
4.0.0-pre9.2 941 7/28/2020
4.0.0-pre9.1 20,307 4/24/2020
4.0.0-pre9 5,878 4/19/2020
4.0.0-pre8 5,641 4/18/2020
4.0.0-pre7 5,751 4/13/2020
4.0.0-pre6 6,096 4/10/2020
4.0.0-pre5 5,947 4/9/2020
4.0.0-pre4 5,858 4/6/2020
4.0.0-pre3 6,385 3/19/2020
4.0.0-pre2 5,854 3/19/2020
4.0.0-pre 5,819 3/19/2020
3.3.3 88,428 9/10/2022
3.3.2 49,190 7/20/2021
3.3.1 92,574 11/6/2020
3.3.0 11,896 11/6/2020
3.2.1 17,340 10/21/2020
3.2.0 142,319 4/6/2020
3.1.0 806,358 8/4/2019
3.0.1 2,724,227 7/6/2018
3.0.0 44,716 5/1/2018
3.0.0-pre 36,208 5/8/2017
2.0.0 271,889 9/23/2016
1.1.2349.61993 71,751 6/7/2016
1.1.2225 263,696 2/4/2016
1.1.1589.5942 134,621 7/18/2014
1.1.1589.5941 57,676 5/9/2014
1.1.1579.5793 3,756 4/29/2014
1.1.1508.5724 11,040 2/17/2014
1.1.1456.5398 6,094 12/27/2013
1.1.1161.61462 5,221 8/28/2013
1.1.1160.61462 9,704 3/7/2013

FIX: Fixed issue where setting `NativeWindow.WindowState = WindowState.Normal` while fullscreen would not exit fullscreen. (@Th3Dilli)
API: Added `NativeWindow.FramebufferSize`, `NativeWindow.OnFramebufferResize`, and `NativeWindow.FramebufferResize` to be able to properly get the framebuffer size of the window (useful on macos where framebuffer size is not equal to client size). (@NogginBops)
API: Added `GameWindowSettings.Win32SuspendTimerOnDrag` propery that allows the internal timer to be suspended while the window is moved or resized. Without this dragging the window will cause an abnormally large time delta since the last frame. (@MV10)
API: Made `NativeWindowSettings.Size` obsolete in favour of `NativeWindowSettings.ClientSize` (`NativeWindowSettings.Size` has always set the client size of the window, this namechange just makes this clear). (@MV10)
API: Added ability to override OpenAL and OpenCL native library search path by setting `OpenALLibraryNameContainer.OverridePath` or `OpenCLLibraryNameContainer.OverridePath`. (@NogginBops)
API: Added `NativeWindowSettings.AutoIconify` and `NativeWindow.AutoIconify` property to control if the window gets minimized if it loses focus while fullscreen. (@MV10)
API: Added missing enums to `GetPName`. (@BoyBaykiller)
FIX: Fixed an issue where creating a `NativeWindow` on wayland would freeze in the constructor. (@Th3Dilli)
BREAKING: Re-implemented `Box2/3.Inflate` to work like `System.Drawing.Rectangle.Inflate`. The old behaviour can be found using `Box2/3.Extend`, as the previous obsoletion message stated. (@MV10, @NogginBops)
Add example of how to implement `IBindingsContext` in the documentation comments on `IBindingsContext`. (@utkumaden)
Internal changes to make the build system simpler and easier to modify. (@NogginBops)
Internal changes from `Math` to `MathF` where appropriate. (@MV10)