OpenTK 4.7.2

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package OpenTK -Version 4.7.2
dotnet add package OpenTK --version 4.7.2
<PackageReference Include="OpenTK" Version="4.7.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTK --version 4.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OpenTK, 4.7.2"
#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=4.7.2

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

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

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

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 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.

Xamarin.Forms.Platform.GTK 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 GTK

GitHub repositories (54)

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.
TASEmulators/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 Downloads Last updated
5.0.0-pre.7 556 4/19/2022
5.0.0-pre.6 3,403 6/16/2021
5.0.0-pre.5 332 5/29/2021
5.0.0-pre.4 276 5/22/2021
5.0.0-pre.3 2,689 3/10/2021
5.0.0-pre.2 156 3/9/2021
5.0.0-pre.1 385 3/8/2021
4.7.2 2,025 5/3/2022
4.7.1 8,933 2/17/2022
4.6.7 22,477 9/13/2021
4.6.4 13,890 5/28/2021
4.6.3 11,342 3/27/2021
4.6.2 1,987 3/19/2021
4.6.1 996 3/19/2021
4.6.0 857 3/18/2021
4.5.0 55,717 2/14/2021
4.4.0 15,428 12/16/2020
4.3.0 13,661 11/21/2020
4.2.0 2,961 11/12/2020
4.1.0 2,073 11/6/2020
4.0.6 3,505 10/18/2020
4.0.5 490 10/18/2020
4.0.4 519 10/17/2020
4.0.3 867 10/14/2020
4.0.2 936 10/11/2020
4.0.1 1,646 10/6/2020
4.0.0 3,224 10/2/2020
4.0.0-pre9.10 280 10/1/2020
4.0.0-pre9.9 222 9/30/2020
4.0.0-pre9.8 223 9/29/2020
4.0.0-pre9.7 655 9/20/2020
4.0.0-pre9.6 337 9/14/2020
4.0.0-pre9.4 647 8/30/2020
4.0.0-pre9.3 400 8/21/2020
4.0.0-pre9.2 768 7/28/2020
4.0.0-pre9.1 5,082 4/24/2020
4.0.0-pre9 653 4/19/2020
4.0.0-pre8 429 4/18/2020
4.0.0-pre7 503 4/13/2020
4.0.0-pre6 486 4/10/2020
4.0.0-pre5 467 4/9/2020
4.0.0-pre4 509 4/6/2020
4.0.0-pre3 759 3/19/2020
4.0.0-pre2 365 3/19/2020
4.0.0-pre 436 3/19/2020
3.3.2 25,591 7/20/2021
3.3.1 31,756 11/6/2020
3.3.0 4,147 11/6/2020
3.2.1 2,764 10/21/2020
3.2.0 97,391 4/6/2020
3.1.0 303,910 8/4/2019
3.0.1 925,401 7/6/2018
3.0.0 33,452 5/1/2018
3.0.0-pre 29,318 5/8/2017
2.0.0 225,813 9/23/2016
1.1.2349.61993 53,585 6/7/2016
1.1.2225 169,593 2/4/2016
1.1.1589.5942 99,814 7/18/2014
1.1.1589.5941 53,633 5/9/2014
1.1.1579.5793 1,807 4/29/2014
1.1.1508.5724 6,006 2/17/2014
1.1.1456.5398 3,917 12/27/2013
1.1.1161.61462 2,931 8/28/2013
1.1.1160.61462 4,803 3/7/2013

BREAKING: Fixed issue where the `QuaternionD(double, double, double)` ctor produced the wrong quaternion. It now produces the same quaternion as `Quaterion(float, float, float)`. (@NogginBops)
BREAKING: Fixed `QuaterionD.ToEulerAngles` to now produce the correct result. It now matches the result from `Quaterion.ToEulerAngles`. (@NogginBops)
API: Deprecated `NativeWindow.CursorVisible` and `NativeWindow.CursorGrabbed` in favor of a unified `NativeWindow.CursorState` that disallows invalid combinations. (@NogginBops)
API: Added `NativeWindowSettings.SrgbCapable` to be able to create a default framebuffer with sRGB capabilities. (@NogginBops)
API: Added glfw native access funtions added in glfw 3.1. (@NogginBops)
API: Added `MinimumSize` and `MaximumSize` properties to `NativeWindow` and `NativeWindowSettings`. (@toasty1307)
API: Added `NativeWindow.ProcessWindowEvents` static function for processing events manually. Prefer this function (with `NativeWindow.ProcessInputEvents`) in a multi-window setup. (@NogginBops)
API: Exposed `NativeWindow.ProcessInputEvents()` so multi-window setups can update input state of all windows before handling events (using `NativeWindow.ProcessWindowEvents`). (@NogginBops)
API: Added a proper "main thread" check for glfw. To turn this off, `GLFWProvider.CheckForMainThread` can be set to false. (@NogginBops)
API: Added all missing enums to `SizedInternalFormat`. (@NogginBops)
API: Added `TextureCubeMapArray` to `TextureTarget3d`. (@NogginBops)
API: Added `ParameterBuffer` to `BufferTarget`. (@NogginBops)
API: Added overloads to `MultiDrawElementsIndirectCount` that takes the proper `DrawElementsType` enum as an argument. (@NogginBops)
API: Added overloads to `VertexAttribIFormat` and `VertexAttribLFormat` that take `VertexAttribIntegerType` and `VertexAttributeDoubleType` respectively. (@BoyBaykiller)
API: Added bindings for `NV_mesh_shader`, `NV_shading_rate`, `NV_primitive_shading_rate`, `NV_representative_fragment_test` and `NV_scissor_exclusive` extensions. (@BoyBaykiller)
API: Enums should now be documented with their minimum version or extension requirements. These are not guaranteed to be 100% accurate but should mostly correct. (@NogginBops)
API: Added `RawMouseMotionAttribute` enum, to be able to control raw mouse motion from GLFW.
Fix issue where limiting framerate would cause issues with input functions like `JoystickState.WasButtonPressed` whould have an incorrect value (@NogginBops).
Updated GLFW to 3.3.7. This should fix an issue where UTF-16 code points where sent to OnTextInput causing it to crash. (@NogginBops, @g7ChoGXh)
If the update loop gets too far behind it no longer tries to make up for lost time. This was typically caused by resizing the window, and or closing the lid of a laptop. (@daerogami)
OpenTK no longer put an upper limit on the `System.Runtime.CompilerServices.Unsafe` package. (@NogginBops)
Fixed so `NativeWindowSettings.DepthBits` and `NativeWindowSettings.StencilBits` actually affect the resulting backbuffer format. (@NogginBops)
Fixed an issue in `Box3i.Contains(Vector3i)` where one of the comparisons where wrong, causing incorrect results. (@BlakkM9)
Fixed an issue where `Vector3i.ComponentMin` returned one of the input arguments instead of the proper result. (@Oribow)
Fixed OpenAL `Buffer(int, BufferLoopPoint, ReadOnlySpan<int>)` overload to no longer crash. (@NogginBops)