OpenTK 4.7.1

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

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

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

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 2,355 11/11/2024
5.0.0-pre.12 1,732 9/25/2024
5.0.0-pre.11 1,414 8/9/2024
5.0.0-pre.10 4,514 3/7/2024
5.0.0-pre.9 3,530 10/16/2023
5.0.0-pre.8 16,025 10/28/2022
5.0.0-pre.7 9,053 4/19/2022
5.0.0-pre.6 4,000 6/16/2021
5.0.0-pre.5 520 5/29/2021
5.0.0-pre.4 458 5/22/2021
5.0.0-pre.3 8,647 3/10/2021
5.0.0-pre.2 324 3/9/2021
5.0.0-pre.1 701 3/8/2021
4.9.3 11,700 12/10/2024
4.9.2 321 12/10/2024 4.9.2 is deprecated.
4.9.1 2,516 12/2/2024 4.9.1 is deprecated.
4.8.2 118,930 12/2/2023
4.8.1 22,320 9/27/2023
4.8.0 33,773 7/17/2023
4.7.7 61,674 2/23/2023
4.7.6 5,514 2/22/2023 4.7.6 is deprecated because it has critical bugs.
4.7.5 84,754 9/8/2022
4.7.4 35,090 6/17/2022
4.7.3 4,877 6/17/2022
4.7.2 1,334,013 5/3/2022
4.7.1 29,372 2/17/2022
4.6.7 79,565 9/13/2021
4.6.4 45,517 5/28/2021
4.6.3 18,403 3/27/2021
4.6.2 6,868 3/19/2021
4.6.1 6,339 3/19/2021
4.6.0 7,472 3/18/2021
4.5.0 81,694 2/14/2021
4.4.0 28,043 12/16/2020
4.3.0 117,163 11/21/2020
4.2.0 10,408 11/12/2020
4.1.0 7,838 11/6/2020
4.0.6 10,771 10/18/2020
4.0.5 5,765 10/18/2020
4.0.4 6,054 10/17/2020
4.0.3 6,177 10/14/2020
4.0.2 6,262 10/11/2020
4.0.1 7,312 10/6/2020
4.0.0 13,264 10/2/2020
4.0.0-pre9.10 477 10/1/2020
4.0.0-pre9.9 361 9/30/2020
4.0.0-pre9.8 376 9/29/2020
4.0.0-pre9.7 819 9/20/2020
4.0.0-pre9.6 499 9/14/2020
4.0.0-pre9.4 816 8/30/2020
4.0.0-pre9.3 545 8/21/2020
4.0.0-pre9.2 955 7/28/2020
4.0.0-pre9.1 20,420 4/24/2020
4.0.0-pre9 5,922 4/19/2020
4.0.0-pre8 5,651 4/18/2020
4.0.0-pre7 5,767 4/13/2020
4.0.0-pre6 6,110 4/10/2020
4.0.0-pre5 5,957 4/9/2020
4.0.0-pre4 5,867 4/6/2020
4.0.0-pre3 6,397 3/19/2020
4.0.0-pre2 5,868 3/19/2020
4.0.0-pre 5,840 3/19/2020
3.3.3 97,073 9/10/2022
3.3.2 50,047 7/20/2021
3.3.1 111,411 11/6/2020
3.3.0 21,551 11/6/2020
3.2.1 18,060 10/21/2020
3.2.0 143,594 4/6/2020
3.1.0 845,795 8/4/2019
3.0.1 2,779,923 7/6/2018
3.0.0 45,033 5/1/2018
3.0.0-pre 36,260 5/8/2017
2.0.0 274,730 9/23/2016
1.1.2349.61993 74,476 6/7/2016
1.1.2225 271,362 2/4/2016
1.1.1589.5942 134,917 7/18/2014
1.1.1589.5941 57,732 5/9/2014
1.1.1579.5793 3,799 4/29/2014
1.1.1508.5724 11,079 2/17/2014
1.1.1456.5398 6,121 12/27/2013
1.1.1161.61462 5,272 8/28/2013
1.1.1160.61462 9,850 3/7/2013

BREAKING: Simplifications to the `Monitors` api, hopefully it's easier to work with now. Old functions are marked `[Obsolete]` with directions for equivalent operations with the new API. (@NogginBops)
BREAKING: Changed `Span<T>` to `ReadOnlySpan<T>` in OpenAL bindings where appropriate. (@NogginBops)
API: Add more information to `MonitorInfo` such as human-readable names and supported video modes. (@NogginBops, @utkumaden)
API: Added component-wise division operators for vector types (@NogginBops, @wildniklin)
API: Added missing `One` and `Zero` static readonly fields to `Vector3i` (@NogginBops, @wildniklin)
API: Implemented `AL_SOFT_loop_points` OpenAL extension. (@NogginBops)
Passing `ContextAPI.NoAPI` in `NativeWindowSettings.ContextAPI` will not create an OpenGL context. This allows you to use `NativeWindow` to create a vulkan context, see #1334. (@arakis, @NogginBops)
Added warning to documentation that `ClientSize` will not be guaranteed to have updated values in the `OnMaximized` and `OnMinimized` callbacks. (@NogginBops, @wo80)
Updated to GLFW 3.3.5. (@NogginBops)
FIX: Fix invalid IL generation for some edge case GL ES functions, AOT compiling OpenTK now works correctly!! (@NogginBops, thanks @jkotas for helping me understand the issue)
FIX: Fix `Box3` documentation referencing 2D concepts. (@CaiB)
FIX: Fixed `MathHelper.MapRange` so that it no longer always throws division by zero exceptions. (@jdmisek)
FIX: Fixed `OnUnload` so that it's acutally called in all cases when closing the window. (@NogginBops, @adfcf)
FIX: Wrap all callbacks in exception handlers that will then rethrow these exceptions at the end of `NativeWindow.ProcessEvents()` so that exceptions don't unwind into native calls which is a problem on non-windows platforms. (@NogginBops, @PJB3005)
FIX: Fix `NativeWindow.IsExiting` and `NativeWindow.Exists` so that they actually contain correct values. (@NogginBops)
FIX: Fix `Box2d.Translate` and `Box2i.Translate`, this fix also fixes setting the `Box2d.Center` and `Box2i.Center` properties. (@NogginBops, @yts233)
FIX: Made JoystickCallback still work when multiple windows are used. (@TheBlubb14)
FIX: The MonitorCallback no longer gets garbage collected and crashes the program when called. (@NogginBops, @)
Deprecated the `Closed` event and then `OnClosed` virtual method, they where never called and now we explicitly say so. (@NogginBops)
Deprecated `NativeWindowSettings.IsFullscreen`, use `NativeWindowSettings.WindowState` instead. (@NogginBops)
Deprecated `NativeWindowSettings.IsMultiThreaded`, Render/Update split isn't a great idea then multithreading and users can easily spin up an "update" thread themselves. (@NogginBops)