OpenTK 4.9.4

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.9.4
                    
NuGet\Install-Package OpenTK -Version 4.9.4
                    
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.9.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenTK" Version="4.9.4" />
                    
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 4.9.4
                    
#r "nuget: OpenTK, 4.9.4"
                    
#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@4.9.4
                    
#: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=4.9.4
                    
Install as a Cake Addin
#tool nuget:?package=OpenTK&version=4.9.4
                    
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 (215)

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.

VisioForge.DotNet.Core

VisioForge .Net products for video capture, editing and playback (Video Capture SDK, Media Player SDK, Video Edit SDK). Core package.

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

GitHub repositories (2)

Showing the top 2 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.
Version Downloads Last Updated
5.0.0-pre.15 4,326 8/24/2025
5.0.0-pre.14 1,034 7/11/2025
5.0.0-pre.13 7,876 11/11/2024
5.0.0-pre.12 2,951 9/25/2024
5.0.0-pre.11 1,881 8/9/2024
5.0.0-pre.10 6,717 3/7/2024
5.0.0-pre.9 4,001 10/16/2023
5.0.0-pre.8 17,778 10/28/2022
4.9.4 907,347 3/17/2025
4.9.3 55,240 12/10/2024
4.9.2 14,100 12/10/2024 4.9.2 is deprecated.
4.9.1 17,707 12/2/2024 4.9.1 is deprecated.
4.8.2 290,983 12/2/2023
4.8.1 37,315 9/27/2023
4.8.0 67,192 7/17/2023
4.7.7 88,918 2/23/2023
4.7.6 22,389 2/22/2023 4.7.6 is deprecated because it has critical bugs.
4.7.5 102,847 9/8/2022
3.3.3 180,058 9/10/2022
Loading failed

BREAKING: Made `Matrix3/4.CreateFromQuaternion` and `Matrix3x4/4x3.CreateFromQuaternion` produce idential results for non-normalized quaternions. (@NogginBops)
API: Add explicit casts to and from `System.Numerics` types. (@DamienIsPoggers, @NogginBops)
API: Added `VectorN.Round/Ceiling/Floor/Truncate` element-wise functions. (@NogginBops)
API: Add `ShaderStorageBufferBinding`, `ShaderStorageBufferStart`, and `ShaderStorageBufferSize` to `GetIndexedPName`. (@NogginBops)
API: Add `MathHelper.RadToDeg(d)` and `MathHelper.DegToRad(d)` constants for conversion between radians and degrees. (@DamienIsPoggers)
API: Add support for the `ALC_SOFT_loopback` OpenAL extension through `OpenTK.Audio.OpenAL.ALC.Loopback`. (@NogginBops)
FIX: Update `OpenTK.redist.glfw` to GLFW 3.4 so that the GLFW 3.4 apis work properly. (@NogginBops)
FIX: Optimized `VectorN.this[int i]` and `MatrixN.this[int row, int col]` indexers. (@NogginBops)
FIX: Made `Color4.FromHsv` and `Color4.FromHsl` work correctly when hue is `1`. (@NogginBops)
FIX: Updated OpenAL `DllNotFoundException` exception message to mention having to install OpenAL. (@NogginBops)
FIX: The documentation for `NativeWindowSettings.RenderFrequency` now correctly refers to `UpdateFrequency` instead of `UpdateFrame`. (@NogginBops)