OpenTK.Graphics 5.0.0-pre.12

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

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

OpenGl and OpenGLES bindings for dotnet from the Khronos OpenGL C library.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
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 319 11/11/2024
5.0.0-pre.12 1,350 9/25/2024
5.0.0-pre.11 1,479 8/9/2024
5.0.0-pre.10 4,339 3/7/2024
5.0.0-pre.9 3,183 10/16/2023
5.0.0-pre.8 15,671 10/28/2022
5.0.0-pre.7 9,209 4/19/2022
5.0.0-pre.6 4,376 6/16/2021
5.0.0-pre.5 531 5/29/2021
5.0.0-pre.4 447 5/22/2021
5.0.0-pre.3 8,529 3/10/2021
5.0.0-pre.2 327 3/9/2021
5.0.0-pre.1 759 3/8/2021
4.8.2 236,950 12/2/2023
4.8.1 38,075 9/27/2023
4.8.0 35,642 7/17/2023
4.7.7 110,045 2/23/2023
4.7.6 5,700 2/22/2023
4.7.5 99,044 9/8/2022
4.7.4 63,943 6/17/2022
4.7.3 5,260 6/17/2022
4.7.2 1,144,976 5/3/2022
4.7.1 31,442 2/17/2022
4.6.7 77,885 9/13/2021
4.6.6 5,129 9/13/2021
4.6.5 4,938 9/13/2021
4.6.4 76,588 5/28/2021
4.6.3 21,240 3/27/2021
4.6.2 7,321 3/19/2021
4.6.1 6,866 3/19/2021
4.6.0 7,562 3/18/2021
4.5.0 114,898 2/14/2021
4.4.0 27,280 12/16/2020
4.3.0 96,714 11/21/2020
4.2.0 6,584 11/12/2020
4.1.0 7,591 11/6/2020
4.0.6 11,208 10/18/2020
4.0.5 5,637 10/18/2020
4.0.4 5,871 10/17/2020
4.0.3 5,964 10/14/2020
4.0.2 5,982 10/11/2020
4.0.1 7,090 10/6/2020
4.0.0 14,253 10/2/2020
4.0.0-pre9.10 487 10/1/2020
4.0.0-pre9.9 418 9/30/2020
4.0.0-pre9.8 374 9/29/2020
4.0.0-pre9.7 834 9/20/2020
4.0.0-pre9.6 565 9/14/2020
4.0.0-pre9.5 363 9/14/2020
4.0.0-pre9.4 1,219 8/30/2020

Vulkan bindings changes:**
Add links to relevant documentation in Vulkan documentation strings. (@NogginBops)
Add `[requires: v1.0 | KHR_extension]` strings that document version and extension requirements for function, structs, and enums. (@NogginBops)
Updated Vulkan to 1.3.295. (@NogginBops)
OpenGL bindings changes:**
Switched to using `ref readonly` instead of `in` in OpenGL bindings. (@NogginBops)
Improvements to glX and WGL bindings. (@NogginBops)
PAL2 changes:**
Renamed `Toolkit.Mouse.GetPosition` to `Toolkit.Mouse.GetGlobalPosition`. (@NogginBops)
Renamed `Toolkit.Mouse.SetPosition` to `Toolkit.Mouse.SetGlobalPosition`. (@NogginBops)
Renamed `Toolkit.Mouse.GetState` to `Toolkit.Mouse.GetGlobalState`. (@NogginBops)
Added `Toolkit.Mouse.GetPosition` and `Toolkit.Mouse.GetState` for getting window relative mouse state. (@NogginBops)
Added `Toolkit.Clipboard.SetClipboardBitmap`. (@NogginBops)
Added `Toolkit.Window.ClientToFramebuffer` and `Toolkit.Window.FramebufferToClient`. (@NogginBops)
Switched to using `VectorN` types for most positions and sizes. (@NogginBops)
Renamed `MouseMoveEventArgs.Position` to `MouseMoveEventArgs.ClientPosition`. (@NogginBops)
win32:
win32: Switched `OpenGLComponent` to use the generated WGL bindings. (@NogginBops)
macOS:
macOS: Added `MacOSShellComponent.NSLog` to be able to write to the macOS system log. (@NogginBops)
x11:
x11: Implemented `X11VulkanComponent` (`Toolkit.Vulkan`). (@NogginBops)
x11: Implemented `X11ClipboardComponent.SetClipboardText`. (@NogginBops)
x11: Added `IPngCodec` and `X11ClipboardComponent.SetPngCodec` interface to `X11ClipboardComponent` for optional bitmap support on linux. (@NogginBops)
x11: Implemented `HitTest` and `Toolkit.Window.SetHitTest`. (@NogginBops)
x11: Improve `Toolkit.Display` api performance by using `XRRGetScreenResourcesCurrent` instead of `XRRGetScreenResources`. (@NogginBops)
x11: Fixed issue where pressing cancel in a file dialog would return a list with one empty string in it, instead of null. (@NogginBops)
x11: Fixed issue where setting a window to Minimized, Maximized, or Fullscreen directly from the Hidden state didn't actually show the window. (@NogginBops)
x11: Fixed issue where the values for `QueuedAfterFlush` and `QueuedAfterReading` where swapped causing lots of event issues on linux. (@NogginBops)
x11: Switched `X11OpenGLComponent` to use the generated glX bindings. (@NogginBops)
x11: Fixed `Toolkit.Window.GetMode` crash when a window doesn't have a `WM_STATE` property set. (@NogginBops)
x11: Reduce potential memory leaks. (@NogginBops)