Silk.NET.OpenGL
2.17.0
Prefix Reserved
See the version list below for details.
dotnet add package Silk.NET.OpenGL --version 2.17.0
NuGet\Install-Package Silk.NET.OpenGL -Version 2.17.0
<PackageReference Include="Silk.NET.OpenGL" Version="2.17.0" />
paket add Silk.NET.OpenGL --version 2.17.0
#r "nuget: Silk.NET.OpenGL, 2.17.0"
// Install Silk.NET.OpenGL as a Cake Addin #addin nuget:?package=Silk.NET.OpenGL&version=2.17.0 // Install Silk.NET.OpenGL as a Cake Tool #tool nuget:?package=Silk.NET.OpenGL&version=2.17.0
Silk.NET is your one-stop-shop for high-speed .NET multimedia, graphics, and compute; providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX.
Use Silk.NET to spruce up applications with cross-platform 3D graphics, audio, compute and haptics!
Silk.NET works on any .NET Standard 2.0 compliant platform, including .NET 6.0, Xamarin, .NET Framework 4.6.1+, and .NET Core 2.0+.
Proud to be an official project under the benevolent .NET Foundation umbrella.
About This Package
This package contains bindings for the OpenGL graphics API.
Features
Performance
Having poured lots of hours into examining generated C# code and its JIT assembly, you can count on us to deliver blazing fast bindings with negligible overhead induced by Silk.NET!
Up-to-date
With an efficient bindings regeneration mechanism, we are committed to ensuring our bindings reflect the latest specifications with frequent updates generated straight from the upstream sources.
High-level utilities
In addition to providing high-speed, direct, and transparent bindings, we provide high-level utilities and wrappers to maximise productivity in common workloads such as platform-agnostic abstractions around Windowing and Input, bringing your apps to a vast number of platforms without changing a single line!
Good-to-go
Silk.NET caters for anything you could need in swift development of multimedia, graphics, compute applications. Silk.NET is an all-in-one solution, complete with Graphics, Compute, Audio, Input, and Windowing.
Funding
Silk.NET requires significant effort to maintain, as such we greatly appreciate any financial support you are able to provide!
This helps ensure Silk.NET's long term viability, and to help support the developers who maintain Silk.NET in their free time. Kai is accepting GitHub Sponsorships.
Further resources
- Several examples can be found in the examples folder
- Come chat with us on Discord!
Licensing and governance
Silk.NET is distributed under the very permissive MIT/X11 license and all dependencies are distributed under MIT-compatible licenses.
Silk.NET is a .NET Foundation project, and has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Silk.NET.Core (>= 2.17.0)
- Silk.NET.Maths (>= 2.17.0)
- Ultz.Bcl.Half (>= 1.0.0)
-
.NETStandard 2.0
- Silk.NET.Core (>= 2.17.0)
- Silk.NET.Maths (>= 2.17.0)
- Ultz.Bcl.Half (>= 1.0.0)
-
.NETStandard 2.1
- Silk.NET.Core (>= 2.17.0)
- Silk.NET.Maths (>= 2.17.0)
- Ultz.Bcl.Half (>= 1.0.0)
-
net5.0
- Silk.NET.Core (>= 2.17.0)
- Silk.NET.Maths (>= 2.17.0)
NuGet packages (35)
Showing the top 5 NuGet packages that depend on Silk.NET.OpenGL:
Package | Downloads |
---|---|
Uno.WinUI.Runtime.Skia.Gtk
This package provides the platform support for Skia in Uno Platform projects. |
|
Uno.UI.Runtime.Skia.Gtk
This package provides the platform support for Skia in Uno Platform projects. |
|
Stride.Graphics
Package Description |
|
Silk.NET
Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, and DirectX. |
|
Jypeli.NET
Jypeli is a simple C# game programming library built on top of .NET and Silk.NET. It is used as a tool for teaching programming in the University of Jyväskylä. |
GitHub repositories (19)
Showing the top 5 popular GitHub repositories that depend on Silk.NET.OpenGL:
Repository | Stars |
---|---|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
stride3d/stride
Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
|
|
dotnet/Silk.NET
The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
|
|
TASEmulators/BizHawk
BizHawk is a multi-system emulator written in C#. BizHawk provides nice features for casual gamers such as full screen, and joypad support in addition to full rerecording and debugging tools for all system cores.
|
|
rds1983/Myra
UI Library for MonoGame, FNA and Stride
|
Version | Downloads | Last updated |
---|---|---|
2.22.0 | 1,181 | 11/5/2024 |
2.21.0 | 34,956 | 4/23/2024 |
2.20.0 | 35,783 | 12/12/2023 |
2.19.0 | 6,515 | 11/14/2023 |
2.18.0 | 4,254 | 10/21/2023 |
2.17.1 | 29,013 | 4/9/2023 |
2.17.0 | 11,181 | 4/6/2023 |
2.16.0 | 352,251 | 8/2/2022 |
2.15.0 | 81,187 | 4/2/2022 |
2.14.0 | 9,184 | 3/15/2022 |
2.13.0 | 9,384 | 2/6/2022 |
2.12.0 | 8,744 | 1/7/2022 |
2.11.0 | 6,279 | 12/6/2021 |
2.10.1 | 15,895 | 11/10/2021 |
2.10.0 | 2,836 | 11/6/2021 |
2.9.0 | 3,784 | 10/5/2021 |
2.8.0 | 3,831 | 9/4/2021 |
2.7.0 | 3,638 | 8/9/2021 |
2.6.0 | 4,891 | 7/3/2021 |
2.5.0 | 4,519 | 6/8/2021 |
2.4.0 | 16,442 | 5/7/2021 |
2.3.0 | 3,201 | 4/3/2021 |
2.2.0 | 2,716 | 3/6/2021 |
2.1.0 | 4,088 | 2/16/2021 |
2.0.0 | 2,783 | 1/2/2021 |
2.0.0-preview5 | 1,510 | 12/29/2020 |
2.0.0-preview4 | 1,627 | 12/8/2020 |
2.0.0-preview3 | 1,627 | 11/17/2020 |
2.0.0-preview2 | 1,709 | 8/21/2020 |
2.0.0-preview | 2,320 | 7/15/2020 |
1.9.0 | 2,734 | 12/4/2020 |
1.8.0 | 3,983 | 11/6/2020 |
1.7.0 | 3,251 | 10/2/2020 |
1.6.0 | 2,887 | 9/4/2020 |
1.5.0 | 2,909 | 8/7/2020 |
1.4.0 | 4,372 | 7/3/2020 |
1.3.0 | 3,177 | 6/5/2020 |
1.2.1 | 3,134 | 5/16/2020 |
1.2.0 | 2,895 | 5/1/2020 |
1.1.1 | 3,077 | 4/13/2020 |
1.1.0 | 3,391 | 4/5/2020 |
1.0.1 | 3,022 | 3/17/2020 |
1.0.0 | 3,354 | 3/6/2020 |
1.0.0-preview5 | 1,883 | 2/18/2020 |
1.0.0-preview4 | 1,832 | 2/8/2020 |
1.0.0-preview3 | 2,201 | 11/15/2019 |
1.0.0-preview2 | 1,607 | 8/10/2019 |
1.0.0-preview | 1,637 | 8/4/2019 |
Silk.NET Spring 2023 Update 1
- Added zero-cost extension methods for ComPtrs, making our DirectX bindings easier to use and higher quality than ever before.
- Added WebGPU bindings for Dawn and WGPU.
- Added Direct2D bindings. (massive thank you to @curin)
- Added DirectComposition bindings. (again, massive preesh to @curin)
- Added DirectWrite bindings.
- Added d3d11on12 bindings.
- Added WGL bindings.
- Added support for Android 12.
- Added support for OpenAL disconnect extension. (thanks @okaniku)
- Added GLFW API constants for ANGLE. (thanks @cyraid)
- Added extension functions for OpenAL BufferData to make use of AL_EXT_float32 enums.
- Added ReopenDevices extension for OpenAL Soft. (thanks @LeNitrous)
- Added BufferCallback extension for OpenAL Soft.
- Added Vulkan structure chain polymorphism. (thanks @Khitiara for the proposal)
- Added SDL/GLFW native libraries for Windows on ARM64.
- Added IsScancodePressed function in Silk.NET Input.
- Added TopMost in Silk.NET Windowing (thanks @MarioGK)
- Added EGL display and surface to INativeWindow.
- Added an explicit check against calling Reset on a window while within the render loop of said window.
- Added support for multiple native binary candidate paths for a single binding.
- Improved support for WASM and AOT in the Silk.NET loader.
- Improved support for Windows on ARM64.
- Improved Silk.NET.Maths generic specialization codegen.
- Improved support for DXVK, including a new DXHandle property in INativeWindow for getting Linux HWND equivalents.
- Improved support for Silk.NET.Windowing under reflection-free NativeAOT
- Updated to SDL 2.24.
- Updated to Vulkan 1.3.246.
- Updated to DirectStorage 1.1.1.
- Updated to OpenXR 1.0.27.
- Updated to Assimp 5.2.5.
- Updated to latest OpenCL specifications.
- Updated to latest OpenGL specifications.
- Updated to latest ImGui.
- Fixed XInput GetApi not being implemented. (thanks @skyebird189)
- Fixed TransparentBuffer not being applied correctly without specifying a PreferredBitDepth. (thanks @MarioGK)
- Fixed wide string marshalling.
- Fixed string array marshalling on systems where the max DBCS character size is insufficient for UTF8.
- Fixed Span overloads not calculating the correct length value for ommitted (implicit) length parameters.
- Fixed copying of native libraries under .NET Framework 4.6.1. (thanks @paralaxsd)
- Fixed SDL crashing on Android when the screen rotates in some cases.
- Fixed a memory leak when using GlobalMemory to marshal string arrays instead of StringArrayToPtr. (thanks @Khitiara)