OpenTK 4.7.2

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

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

Showing the top 20 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!!
ScottPlot/ScottPlot
Interactive plotting library for .NET
xamarin/Xamarin.Forms
Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
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.
space-wizards/space-station-14
A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
4sval/FModel
Unreal Engine Archives Explorer
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
ValveResourceFormat/ValveResourceFormat
🔬 Valve's Source 2 resource file format parser, decompiler, and exporter.
videolan/libvlcsharp
Cross-platform .NET/Mono bindings for LibVLC
RazTools/Studio
Modded AssetStudio with new features
swharden/Csharp-Data-Visualization
Resources for visualizing data using C# and the .NET platform
BluestormDNA/ProjectPSX
Experimental C# Playstation Emulator
Wouterdek/NodeNetwork
A C# library with a WPF node editor component based on ReactiveUI
EDDiscovery/EDDiscovery
Captains log and 3d star map for Elite Dangerous
ThisIsNotRocketScience/GerberTools
Tools to load/edit/create/panelizer sets of gerber files
AgOpenGPS-Official/AgOpenGPS
Ag Precision Mapping, Section Control and Guidance Software
AndreiMisiukevich/CardView
CardsView | CarouselView | CoverflowView | CubeView for Xamarin.Forms
john-h-k/MathSharp
A vector and matrix library written in C# using hardware intrinsics
Version Downloads Last updated
5.0.0-pre.13 5,351 11/11/2024
5.0.0-pre.12 1,962 9/25/2024
5.0.0-pre.11 1,463 8/9/2024
5.0.0-pre.10 5,120 3/7/2024
5.0.0-pre.9 3,591 10/16/2023
5.0.0-pre.8 16,652 10/28/2022
5.0.0-pre.7 9,241 4/19/2022
5.0.0-pre.6 4,099 6/16/2021
5.0.0-pre.5 573 5/29/2021
5.0.0-pre.4 510 5/22/2021
5.0.0-pre.3 8,703 3/10/2021
5.0.0-pre.2 387 3/9/2021
5.0.0-pre.1 785 3/8/2021
4.9.4 14,036 3/17/2025
4.9.3 26,777 12/10/2024
4.9.2 698 12/10/2024 4.9.2 is deprecated.
4.9.1 3,306 12/2/2024 4.9.1 is deprecated.
4.8.2 148,959 12/2/2023
4.8.1 22,959 9/27/2023
4.8.0 41,775 7/17/2023
4.7.7 64,318 2/23/2023
4.7.6 6,060 2/22/2023 4.7.6 is deprecated because it has critical bugs.
4.7.5 86,351 9/8/2022
4.7.4 38,544 6/17/2022
4.7.3 4,987 6/17/2022
4.7.2 1,720,553 5/3/2022
4.7.1 30,063 2/17/2022
4.6.7 85,307 9/13/2021
4.6.4 46,095 5/28/2021
4.6.3 18,556 3/27/2021
4.6.2 6,980 3/19/2021
4.6.1 6,461 3/19/2021
4.6.0 7,757 3/18/2021
4.5.0 82,044 2/14/2021
4.4.0 28,670 12/16/2020
4.3.0 147,436 11/21/2020
4.2.0 10,567 11/12/2020
4.1.0 8,030 11/6/2020
4.0.6 10,896 10/18/2020
4.0.5 5,854 10/18/2020
4.0.4 6,141 10/17/2020
4.0.3 6,260 10/14/2020
4.0.2 6,465 10/11/2020
4.0.1 7,427 10/6/2020
4.0.0 14,007 10/2/2020
4.0.0-pre9.10 540 10/1/2020
4.0.0-pre9.9 421 9/30/2020
4.0.0-pre9.8 432 9/29/2020
4.0.0-pre9.7 878 9/20/2020
4.0.0-pre9.6 557 9/14/2020
4.0.0-pre9.4 869 8/30/2020
4.0.0-pre9.3 602 8/21/2020
4.0.0-pre9.2 1,015 7/28/2020
4.0.0-pre9.1 20,575 4/24/2020
4.0.0-pre9 5,982 4/19/2020
4.0.0-pre8 5,712 4/18/2020
4.0.0-pre7 5,839 4/13/2020
4.0.0-pre6 6,165 4/10/2020
4.0.0-pre5 6,016 4/9/2020
4.0.0-pre4 5,934 4/6/2020
4.0.0-pre3 6,456 3/19/2020
4.0.0-pre2 5,925 3/19/2020
4.0.0-pre 5,921 3/19/2020
3.3.3 112,470 9/10/2022
3.3.2 51,663 7/20/2021
3.3.1 155,976 11/6/2020
3.3.0 41,579 11/6/2020
3.2.1 19,256 10/21/2020
3.2.0 145,614 4/6/2020
3.1.0 916,374 8/4/2019
3.0.1 2,856,525 7/6/2018
3.0.0 45,644 5/1/2018
3.0.0-pre 36,449 5/8/2017
2.0.0 279,425 9/23/2016
1.1.2349.61993 76,945 6/7/2016
1.1.2225 282,174 2/4/2016
1.1.1589.5942 135,495 7/18/2014
1.1.1589.5941 57,966 5/9/2014
1.1.1579.5793 3,954 4/29/2014
1.1.1508.5724 11,270 2/17/2014
1.1.1456.5398 6,280 12/27/2013
1.1.1161.61462 5,488 8/28/2013
1.1.1160.61462 10,197 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)