See the version list below for details.
dotnet add package OpenTK --version 4.7.1
NuGet\Install-Package OpenTK -Version 4.7.1
<PackageReference Include="OpenTK" Version="4.7.1" />
paket add OpenTK --version 4.7.1
#r "nuget: OpenTK, 4.7.1"
// 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
Learn more about Target Frameworks and .NET Standard.
- OpenTK.Compute (>= 4.7.1)
- OpenTK.Core (>= 4.7.1)
- OpenTK.Graphics (>= 4.7.1)
- OpenTK.Input (>= 4.7.1)
- OpenTK.Mathematics (>= 4.7.1)
- OpenTK.OpenAL (>= 4.7.1)
- OpenTK.Windowing.Common (>= 4.7.1)
- OpenTK.Windowing.Desktop (>= 4.7.1)
- OpenTK.Windowing.GraphicsLibraryFramework (>= 4.7.1)
NuGet packages (142)
Showing the top 5 NuGet packages that depend on OpenTK:
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 Renderer to build native UIs for WPF
SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.
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.
Xamarin Forms Renderer to build native UIs for GTK
GitHub repositories (61)
Showing the top 5 popular GitHub repositories that depend on OpenTK:
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
AssetStudio is a tool for exploring, extracting and exporting assets and assetbundles.
Xamarin.Forms Official Home
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.
Interactive plotting library for .NET
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)