OpenTK.Graphics 5.0.0-pre.12

Prefix Reserved
This is a prerelease version of OpenTK.Graphics.
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 (16)

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

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

Repository Stars
Ryujinx/Ryujinx
Experimental Nintendo Switch Emulator written in C#
BoyBaykiller/IDKEngine
OpenGL Toy-"Engine" with Wavefront Path Tracer and Rasterizer Pipeline with Voxel Cone Tracing/Global Illumination
MrScautHD/Sparkle
A fast, Cross-platform .NET 8 C# 12 game engine.
Helion-Engine/Helion
A modern fast paced Doom FPS engine
Version Downloads Last updated
5.0.0-pre.12 107 9/25/2024
5.0.0-pre.11 1,188 8/9/2024
5.0.0-pre.10 4,102 3/7/2024
5.0.0-pre.9 3,130 10/16/2023
5.0.0-pre.8 15,209 10/28/2022
5.0.0-pre.7 9,157 4/19/2022
5.0.0-pre.6 4,350 6/16/2021
5.0.0-pre.5 509 5/29/2021
5.0.0-pre.4 428 5/22/2021
5.0.0-pre.3 8,509 3/10/2021
5.0.0-pre.2 306 3/9/2021
5.0.0-pre.1 726 3/8/2021
4.8.2 176,236 12/2/2023
4.8.1 37,110 9/27/2023
4.8.0 34,101 7/17/2023
4.7.7 106,915 2/23/2023
4.7.6 5,552 2/22/2023
4.7.5 97,798 9/8/2022
4.7.4 62,021 6/17/2022
4.7.3 5,225 6/17/2022
4.7.2 1,018,705 5/3/2022
4.7.1 31,075 2/17/2022
4.6.7 74,973 9/13/2021
4.6.6 5,101 9/13/2021
4.6.5 4,915 9/13/2021
4.6.4 73,928 5/28/2021
4.6.3 21,133 3/27/2021
4.6.2 7,246 3/19/2021
4.6.1 6,792 3/19/2021
4.6.0 7,363 3/18/2021
4.5.0 114,773 2/14/2021
4.4.0 26,529 12/16/2020
4.3.0 83,443 11/21/2020
4.2.0 6,527 11/12/2020
4.1.0 7,491 11/6/2020
4.0.6 11,135 10/18/2020
4.0.5 5,602 10/18/2020
4.0.4 5,827 10/17/2020
4.0.3 5,929 10/14/2020
4.0.2 5,951 10/11/2020
4.0.1 6,995 10/6/2020
4.0.0 13,773 10/2/2020
4.0.0-pre9.10 453 10/1/2020
4.0.0-pre9.9 391 9/30/2020
4.0.0-pre9.8 352 9/29/2020
4.0.0-pre9.7 808 9/20/2020
4.0.0-pre9.6 540 9/14/2020
4.0.0-pre9.5 344 9/14/2020
4.0.0-pre9.4 1,194 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)