OpenTK.Graphics 4.8.2

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

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

GLes11, GLes20, GLes30, GL2, and GL4 bindings for dotnet from the Khronos openGL c library.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (19)

Showing the top 5 NuGet packages that depend on OpenTK.Graphics:

Package Downloads
OpenTK

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

OpenTK.GLControl

A WinForms control designed to wrap the OpenTK 4.x APIs.

GLWidget

GLWigdet for GTKSharp, using Opentk.

OpenTK.WinForms

A WinForms control designed to wrap the OpenTK 4.x APIs.

SharpGfx.OpenTK

Package Description

GitHub repositories (6)

Showing the top 5 popular GitHub repositories that depend on OpenTK.Graphics:

Repository Stars
GreemDev/Ryujinx
Experimental Switch emulator written in C#
ryujinx-mirror/ryujinx
Hard-fork of the Ryujinx project
BoyBaykiller/IDKEngine
OpenGL Toy-"Engine" with Wavefront Path Tracer and Rasterizer with Voxel Cone Tracing/Global Illumination
Helion-Engine/Helion
A modern fast paced Doom FPS engine
MrScautHD/Sparkle
A fast, Cross-platform .NET 8 C# 12 game engine.
Version Downloads Last updated
5.0.0-pre.13 306 11/11/2024
5.0.0-pre.12 1,341 9/25/2024
5.0.0-pre.11 1,474 8/9/2024
5.0.0-pre.10 4,336 3/7/2024
5.0.0-pre.9 3,180 10/16/2023
5.0.0-pre.8 15,663 10/28/2022
5.0.0-pre.7 9,204 4/19/2022
5.0.0-pre.6 4,373 6/16/2021
5.0.0-pre.5 528 5/29/2021
5.0.0-pre.4 444 5/22/2021
5.0.0-pre.3 8,526 3/10/2021
5.0.0-pre.2 324 3/9/2021
5.0.0-pre.1 756 3/8/2021
4.8.2 236,007 12/2/2023
4.8.1 38,048 9/27/2023
4.8.0 35,612 7/17/2023
4.7.7 109,975 2/23/2023
4.7.6 5,697 2/22/2023
4.7.5 99,027 9/8/2022
4.7.4 63,927 6/17/2022
4.7.3 5,257 6/17/2022
4.7.2 1,143,810 5/3/2022
4.7.1 31,436 2/17/2022
4.6.7 77,846 9/13/2021
4.6.6 5,126 9/13/2021
4.6.5 4,935 9/13/2021
4.6.4 76,539 5/28/2021
4.6.3 21,236 3/27/2021
4.6.2 7,316 3/19/2021
4.6.1 6,862 3/19/2021
4.6.0 7,557 3/18/2021
4.5.0 114,895 2/14/2021
4.4.0 27,273 12/16/2020
4.3.0 96,561 11/21/2020
4.2.0 6,581 11/12/2020
4.1.0 7,588 11/6/2020
4.0.6 11,205 10/18/2020
4.0.5 5,634 10/18/2020
4.0.4 5,868 10/17/2020
4.0.3 5,961 10/14/2020
4.0.2 5,979 10/11/2020
4.0.1 7,087 10/6/2020
4.0.0 14,246 10/2/2020
4.0.0-pre9.10 484 10/1/2020
4.0.0-pre9.9 415 9/30/2020
4.0.0-pre9.8 371 9/29/2020
4.0.0-pre9.7 831 9/20/2020
4.0.0-pre9.6 562 9/14/2020
4.0.0-pre9.5 360 9/14/2020
4.0.0-pre9.4 1,216 8/30/2020

FIX: Fixed issue where setting `NativeWindow.WindowState = WindowState.Normal` while fullscreen would not exit fullscreen. (@Th3Dilli)
API: Added `NativeWindow.FramebufferSize`, `NativeWindow.OnFramebufferResize`, and `NativeWindow.FramebufferResize` to be able to properly get the framebuffer size of the window (useful on macos where framebuffer size is not equal to client size). (@NogginBops)
API: Added `GameWindowSettings.Win32SuspendTimerOnDrag` propery that allows the internal timer to be suspended while the window is moved or resized. Without this dragging the window will cause an abnormally large time delta since the last frame. (@MV10)
API: Made `NativeWindowSettings.Size` obsolete in favour of `NativeWindowSettings.ClientSize` (`NativeWindowSettings.Size` has always set the client size of the window, this namechange just makes this clear). (@MV10)
API: Added ability to override OpenAL and OpenCL native library search path by setting `OpenALLibraryNameContainer.OverridePath` or `OpenCLLibraryNameContainer.OverridePath`. (@NogginBops)
API: Added `NativeWindowSettings.AutoIconify` and `NativeWindow.AutoIconify` property to control if the window gets minimized if it loses focus while fullscreen. (@MV10)
API: Added missing enums to `GetPName`. (@BoyBaykiller)
FIX: Fixed an issue where creating a `NativeWindow` on wayland would freeze in the constructor. (@Th3Dilli)
BREAKING: Re-implemented `Box2/3.Inflate` to work like `System.Drawing.Rectangle.Inflate`. The old behaviour can be found using `Box2/3.Extend`, as the previous obsoletion message stated. (@MV10, @NogginBops)
Add example of how to implement `IBindingsContext` in the documentation comments on `IBindingsContext`. (@utkumaden)
Internal changes to make the build system simpler and easier to modify. (@NogginBops)
Internal changes from `Math` to `MathF` where appropriate. (@MV10)