OpenTK 5.0.0-pre.13

Prefix Reserved
This is a prerelease version of OpenTK.
dotnet add package OpenTK --version 5.0.0-pre.13                
NuGet\Install-Package OpenTK -Version 5.0.0-pre.13                
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="5.0.0-pre.13" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTK --version 5.0.0-pre.13                
#r "nuget: OpenTK, 5.0.0-pre.13"                
#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=5.0.0-pre.13&prerelease

// Install OpenTK as a Cake Tool
#tool nuget:?package=OpenTK&version=5.0.0-pre.13&prerelease                

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

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

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 292 11/11/2024
5.0.0-pre.12 1,295 9/25/2024
5.0.0-pre.11 1,348 8/9/2024
5.0.0-pre.10 4,015 3/7/2024
5.0.0-pre.9 3,495 10/16/2023
5.0.0-pre.8 15,349 10/28/2022
5.0.0-pre.7 8,991 4/19/2022
5.0.0-pre.6 3,970 6/16/2021
5.0.0-pre.5 502 5/29/2021
5.0.0-pre.4 446 5/22/2021
5.0.0-pre.3 8,638 3/10/2021
5.0.0-pre.2 306 3/9/2021
5.0.0-pre.1 674 3/8/2021
4.8.2 97,313 12/2/2023
4.8.1 21,684 9/27/2023
4.8.0 31,652 7/17/2023
4.7.7 59,662 2/23/2023
4.7.6 5,377 2/22/2023 4.7.6 is deprecated because it has critical bugs.
4.7.5 83,667 9/8/2022
4.7.4 33,937 6/17/2022
4.7.3 4,786 6/17/2022
4.7.2 1,116,361 5/3/2022
4.7.1 28,891 2/17/2022
4.6.7 75,164 9/13/2021
4.6.4 44,146 5/28/2021
4.6.3 18,295 3/27/2021
4.6.2 6,812 3/19/2021
4.6.1 6,247 3/19/2021
4.6.0 7,258 3/18/2021
4.5.0 81,400 2/14/2021
4.4.0 27,505 12/16/2020
4.3.0 97,196 11/21/2020
4.2.0 10,308 11/12/2020
4.1.0 7,738 11/6/2020
4.0.6 10,686 10/18/2020
4.0.5 5,706 10/18/2020
4.0.4 6,015 10/17/2020
4.0.3 6,136 10/14/2020
4.0.2 6,208 10/11/2020
4.0.1 7,182 10/6/2020
4.0.0 12,668 10/2/2020
4.0.0-pre9.10 457 10/1/2020
4.0.0-pre9.9 348 9/30/2020
4.0.0-pre9.8 362 9/29/2020
4.0.0-pre9.7 807 9/20/2020
4.0.0-pre9.6 488 9/14/2020
4.0.0-pre9.4 804 8/30/2020
4.0.0-pre9.3 534 8/21/2020
4.0.0-pre9.2 938 7/28/2020
4.0.0-pre9.1 20,252 4/24/2020
4.0.0-pre9 5,873 4/19/2020
4.0.0-pre8 5,638 4/18/2020
4.0.0-pre7 5,748 4/13/2020
4.0.0-pre6 6,093 4/10/2020
4.0.0-pre5 5,944 4/9/2020
4.0.0-pre4 5,855 4/6/2020
4.0.0-pre3 6,380 3/19/2020
4.0.0-pre2 5,850 3/19/2020
4.0.0-pre 5,816 3/19/2020
3.3.3 87,041 9/10/2022
3.3.2 49,055 7/20/2021
3.3.1 90,161 11/6/2020
3.3.0 10,872 11/6/2020
3.2.1 17,199 10/21/2020
3.2.0 142,077 4/6/2020
3.1.0 799,630 8/4/2019
3.0.1 2,714,619 7/6/2018
3.0.0 44,648 5/1/2018
3.0.0-pre 36,175 5/8/2017
2.0.0 271,332 9/23/2016
1.1.2349.61993 71,256 6/7/2016
1.1.2225 262,096 2/4/2016
1.1.1589.5942 134,533 7/18/2014
1.1.1589.5941 57,665 5/9/2014
1.1.1579.5793 3,730 4/29/2014
1.1.1508.5724 11,009 2/17/2014
1.1.1456.5398 6,085 12/27/2013
1.1.1161.61462 5,213 8/28/2013
1.1.1160.61462 9,684 3/7/2013

Changed `MarshalTk.MarshalStringArrayToAnsiStringArrayPtr` to take `ReadOnlySpan<string>` instead of `Span<string>`. (@NogginBops)
Vulkan bindings changes**:
Add default parameterless constructor to all Vulkan structs so that default member values can be applied (mostly to automatically set `sType`). (@NogginBops)
Made the Vulkan example project render a triangle. (@NogginBops)
OpenGL bindings changes**:
Skip `ref readonly` for singular `Delete*()` functions. (@NogginBops)
Added generated EGL bindings containing all EGL and ANGLE extensions. (@NogginBops)
Fixed missing documentation on some OpenGL functions. (@NogginBops)
PAL2 changes**:
A lot of documentation improvements. (@NogginBops)
Added `Toolkit.Window.Get/SetTransparencyMode` to support different modes for window transparency. (@NogginBops)
Add `reason` parameter to `Toolkit.Shell.AllowScreenSaver`. (@NogginBops)
Add `Toolkit.Shell.IsScreenSaverAllowed` to be able to check if the screen saver is disabled. (@NogginBops)
Added `OpenGLGraphicsApiHints.SupportsTransparentFramebufferX11` to mark if the context values selector should look for formats that support framebuffer transparency when on X11 (framebuffer transparency is always supported on Windows and macOS). (@NogginBops)
Added `ContextValues.SupportsFramebufferTransparency` to check if a particular format supports framebuffer transparency (only relevant on X11). (@NogginBops)
Updated `ContextValues.DefaultValuesSelector` to handle `SupportsFramebufferTransparency`. (@NogginBops)
Added `Toolkit.Uninit()` for usecases where unloading OpenTK is useful (don't call this function on application exit). (@NogginBops)
Added `IPalComponent.Uninitialize()` and implemented it for every component on every platform to make `Toolkit.Uninit()` possible. (@NogginBops)
win32:
macOS:
Implement `MacOSVulkanComponent` using MoltenVK. (@NogginBops)
Made dialogs proper window sheets by default. (@NogginBops)
Added `MacOSDialogComponent.Show*NoWindow` functions for showing dialogs not attached to any window. (@NogginBops)
x11:
Fixed glX dll resolution to be the same as before 5.0-pre.12 (@NogginBops)
Fixed memory leak in `X11KeyboardComponent`. (@NogginBops)
ANGLE:
Switched implementation to use the generated EGL bindings. (@NogginBops)