OpenTK.Graphics 5.0.0-pre.13

Prefix Reserved
This is a prerelease version of OpenTK.Graphics.
dotnet add package OpenTK.Graphics --version 5.0.0-pre.13                
NuGet\Install-Package OpenTK.Graphics -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.Graphics" 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.Graphics --version 5.0.0-pre.13                
#r "nuget: OpenTK.Graphics, 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.Graphics as a Cake Addin
#addin nuget:?package=OpenTK.Graphics&version=5.0.0-pre.13&prerelease

// Install OpenTK.Graphics as a Cake Tool
#tool nuget:?package=OpenTK.Graphics&version=5.0.0-pre.13&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 427 11/11/2024
5.0.0-pre.12 1,373 9/25/2024
5.0.0-pre.11 1,486 8/9/2024
5.0.0-pre.10 4,355 3/7/2024
5.0.0-pre.9 3,185 10/16/2023
5.0.0-pre.8 15,688 10/28/2022
5.0.0-pre.7 9,214 4/19/2022
5.0.0-pre.6 4,377 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 240,613 12/2/2023
4.8.1 38,121 9/27/2023
4.8.0 35,739 7/17/2023
4.7.7 110,171 2/23/2023
4.7.6 5,710 2/22/2023
4.7.5 99,083 9/8/2022
4.7.4 64,024 6/17/2022
4.7.3 5,261 6/17/2022
4.7.2 1,153,719 5/3/2022
4.7.1 31,464 2/17/2022
4.6.7 78,040 9/13/2021
4.6.6 5,129 9/13/2021
4.6.5 4,938 9/13/2021
4.6.4 76,670 5/28/2021
4.6.3 21,245 3/27/2021
4.6.2 7,324 3/19/2021
4.6.1 6,867 3/19/2021
4.6.0 7,568 3/18/2021
4.5.0 114,920 2/14/2021
4.4.0 27,297 12/16/2020
4.3.0 97,331 11/21/2020
4.2.0 6,588 11/12/2020
4.1.0 7,592 11/6/2020
4.0.6 11,210 10/18/2020
4.0.5 5,638 10/18/2020
4.0.4 5,872 10/17/2020
4.0.3 5,965 10/14/2020
4.0.2 5,982 10/11/2020
4.0.1 7,097 10/6/2020
4.0.0 14,279 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

Changed `MarshalTk.MarshalStringArrayToAnsiStringArrayPtr` to take `ReadOnlySpan&lt;string&gt;` instead of `Span&lt;string&gt;`. (@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)