OpenTK 4.7.6

Suggested Alternatives

OpenTK 4.7.7

Additional Details

The `ToString()` methods on all math types throw `NullReferenceException`. This has been fixed in 4.7.7.

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

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

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

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Xamarin Forms Renderer to build native UIs for WPF

SkiaSharp.Views.WPF The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

SkiaSharp.Views.WindowsForms The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

ScottPlot.WPF The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

User controls for displaying interactive plots in WPF applications

GitHub repositories (72)

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
ScottPlot/ScottPlot
Interactive plotting library for .NET
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.
Version Downloads Last updated
5.0.0-pre.10 895 3/7/2024
5.0.0-pre.9 3,064 10/16/2023
5.0.0-pre.8 13,877 10/28/2022
5.0.0-pre.7 8,795 4/19/2022
5.0.0-pre.6 3,877 6/16/2021
5.0.0-pre.5 461 5/29/2021
5.0.0-pre.4 395 5/22/2021
5.0.0-pre.3 8,601 3/10/2021
5.0.0-pre.2 256 3/9/2021
5.0.0-pre.1 611 3/8/2021
4.8.2 29,915 12/2/2023
4.8.1 18,167 9/27/2023
4.8.0 24,986 7/17/2023
4.7.7 50,244 2/23/2023
4.7.6 4,755 2/22/2023
4.7.5 69,720 9/8/2022
4.7.4 31,855 6/17/2022
4.7.3 4,512 6/17/2022
4.7.2 642,141 5/3/2022
4.7.1 27,432 2/17/2022
4.6.7 64,318 9/13/2021
4.6.4 39,942 5/28/2021
4.6.3 17,692 3/27/2021
4.6.2 6,417 3/19/2021
4.6.1 5,880 3/19/2021
4.6.0 6,654 3/18/2021
4.5.0 79,552 2/14/2021
4.4.0 25,386 12/16/2020
4.3.0 54,847 11/21/2020
4.2.0 9,890 11/12/2020
4.1.0 7,264 11/6/2020
4.0.6 10,200 10/18/2020
4.0.5 5,419 10/18/2020
4.0.4 5,727 10/17/2020
4.0.3 5,904 10/14/2020
4.0.2 5,891 10/11/2020
4.0.1 6,788 10/6/2020
4.0.0 11,291 10/2/2020
4.0.0-pre9.10 405 10/1/2020
4.0.0-pre9.9 314 9/30/2020
4.0.0-pre9.8 324 9/29/2020
4.0.0-pre9.7 770 9/20/2020
4.0.0-pre9.6 452 9/14/2020
4.0.0-pre9.4 767 8/30/2020
4.0.0-pre9.3 504 8/21/2020
4.0.0-pre9.2 895 7/28/2020
4.0.0-pre9.1 19,318 4/24/2020
4.0.0-pre9 5,603 4/19/2020
4.0.0-pre8 5,395 4/18/2020
4.0.0-pre7 5,355 4/13/2020
4.0.0-pre6 5,848 4/10/2020
4.0.0-pre5 5,682 4/9/2020
4.0.0-pre4 5,668 4/6/2020
4.0.0-pre3 6,107 3/19/2020
4.0.0-pre2 5,643 3/19/2020
4.0.0-pre 5,547 3/19/2020
3.3.3 55,844 9/10/2022
3.3.2 45,874 7/20/2021
3.3.1 61,751 11/6/2020
3.3.0 8,946 11/6/2020
3.2.1 15,192 10/21/2020
3.2.0 137,313 4/6/2020
3.1.0 666,385 8/4/2019
3.0.1 2,442,091 7/6/2018
3.0.0 43,586 5/1/2018
3.0.0-pre 35,873 5/8/2017
2.0.0 259,190 9/23/2016
1.1.2349.61993 65,868 6/7/2016
1.1.2225 239,133 2/4/2016
1.1.1589.5942 131,476 7/18/2014
1.1.1589.5941 57,211 5/9/2014
1.1.1579.5793 3,626 4/29/2014
1.1.1508.5724 10,594 2/17/2014
1.1.1456.5398 5,889 12/27/2013
1.1.1161.61462 5,018 8/28/2013
1.1.1160.61462 8,883 3/7/2013

BREAKING: Changed the default value of `NativeWindowSettings.Flags` from `ContextFlags.Default` to `ContextFlags.ForwardCompatible` for better out of the box macos support. (@NogginBops)
API: Added `NativeWindowSettings.TransparentFramebuffer` and `NativeWindowSettings.VSync`. (@NogginBops)
API: Component-wise `Lerp` methods for `float` and `double` vector types. (@g7ChoGXh)
API: Implemented `IFormattable` for most `OpenTK.Mathematics` types. (@g7ChoGXh)
API: Add bindings for `EXT_fragment_shading_rate`. (@BoyBaykiller)
API: Added casts from `Vector2i` and `Vector2` to `System.Drawing.Point`/`System.Drawing.Size` and `System.Drawing.PointF`/`System.Drawing.SizeF` respectively. (@NogginBops)
API: Added missing entries in `SizedInternalFormat`. (@BoyBaykiller)
API: `BinaryFormat` now contains the `ShaderBinaryFormatSpirV` enum value. (@NogginBops)
FIX: Many fixes related to `NativeWindow.WindowState`. Most notably, going from fullscreen to maximized and back works correctly. (@NogginBops)
FIX: `MonitorInfo.WorkArea` now gives the correct values. (@utkumaden)
FIX: Spelling and formatting corrections in documentation. (@sg-wizard-maker)
FIX: Math types now change their formatting when `CurrentCulture` is changed. (@g7ChoGXh)
FIX: `Matrix4x3`/`Matrix4x3d` now print their final row. (@NogginBops)
FIX: On Windows, setting `GameWindowSettings.UpdateFrequency` and `GameWindowSettings.RenderFrequency` should be more accurate. For details see documentation for `GameWindow.Run()`. (@NogginBops)
The OpenTK solution should now build directly in Visual Studio with no need to run `build.cmd` any more. (@NogginBops)