OpenTK.Platform 5.0.0-pre.12

Prefix Reserved
This is a prerelease version of OpenTK.Platform.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package OpenTK.Platform --version 5.0.0-pre.12                
NuGet\Install-Package OpenTK.Platform -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.Platform" 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.Platform --version 5.0.0-pre.12                
#r "nuget: OpenTK.Platform, 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.Platform as a Cake Addin
#addin nuget:?package=OpenTK.Platform&version=5.0.0-pre.12&prerelease

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

Platform support for OpenTK, contains backends for Windows, Linux, and macOS.

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.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OpenTK.Platform:

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0-pre.13 312 11/11/2024
5.0.0-pre.12 1,264 9/25/2024
5.0.0-pre.11 1,313 8/9/2024

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)