Silk.NET
2.17.1
dotnet add package Silk.NET --version 2.17.1
NuGet\Install-Package Silk.NET -Version 2.17.1
<PackageReference Include="Silk.NET" Version="2.17.1" />
paket add Silk.NET --version 2.17.1
#r "nuget: Silk.NET, 2.17.1"
// Install Silk.NET as a Cake Addin
#addin nuget:?package=Silk.NET&version=2.17.1
// Install Silk.NET as a Cake Tool
#tool nuget:?package=Silk.NET&version=2.17.1
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
Core functionality for the Silk.NET library. You likely never need to reference this package yourself, nor is it generally useful without another Silk.NET package.
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.
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Silk.NET.Core (>= 2.17.1)
- Silk.NET.GLFW (>= 2.17.1)
- Silk.NET.Input (>= 2.17.1)
- Silk.NET.OpenAL (>= 2.17.1)
- Silk.NET.OpenGL (>= 2.17.1)
- Silk.NET.Vulkan (>= 2.17.1)
- Silk.NET.Vulkan.Extensions.KHR (>= 2.17.1)
- Silk.NET.Windowing (>= 2.17.1)
-
.NETStandard 2.0
- Silk.NET.Core (>= 2.17.1)
- Silk.NET.GLFW (>= 2.17.1)
- Silk.NET.Input (>= 2.17.1)
- Silk.NET.OpenAL (>= 2.17.1)
- Silk.NET.OpenGL (>= 2.17.1)
- Silk.NET.Vulkan (>= 2.17.1)
- Silk.NET.Vulkan.Extensions.KHR (>= 2.17.1)
- Silk.NET.Windowing (>= 2.17.1)
-
.NETStandard 2.1
- Silk.NET.Core (>= 2.17.1)
- Silk.NET.GLFW (>= 2.17.1)
- Silk.NET.Input (>= 2.17.1)
- Silk.NET.OpenAL (>= 2.17.1)
- Silk.NET.OpenGL (>= 2.17.1)
- Silk.NET.Vulkan (>= 2.17.1)
- Silk.NET.Vulkan.Extensions.KHR (>= 2.17.1)
- Silk.NET.Windowing (>= 2.17.1)
-
net5.0
- Silk.NET.Core (>= 2.17.1)
- Silk.NET.GLFW (>= 2.17.1)
- Silk.NET.Input (>= 2.17.1)
- Silk.NET.OpenAL (>= 2.17.1)
- Silk.NET.OpenGL (>= 2.17.1)
- Silk.NET.Vulkan (>= 2.17.1)
- Silk.NET.Vulkan.Extensions.KHR (>= 2.17.1)
- Silk.NET.Windowing (>= 2.17.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Silk.NET:
Package | Downloads |
---|---|
DotFeather
A lightweight, extensible and easy game engine. |
|
netcore-opengl-core
Core module contains everything useful for gl calculations and view management. |
|
KinsonDigital.Velaptor
2D game or application development framework that provides 2D rendering, sound, keyboard and mouse input, etc. |
|
ShadowTools
A base library for creating cross platform game engines in .NET using OpenGL. Includes OpenGL, ImGUI, An MIT licensed ECS (https://github.com/isonil/EntityComponentSystem), etc. More features are planned (ex. ImGUI Hierarchy Controls) and the library will continue to grow as time goes on. |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on Silk.NET:
Repository | Stars |
---|---|
ZacharyPatten/Towel
Throw in the towel.
|
|
ikpil/DotRecast
DotRecast - a port of Recast & Detour, navigation mesh toolset for games, Unity3D, servers, C#
|
|
lindexi/lindexi_gd
博客用到的代码
|
|
JasonBock/Rocks
A mocking library based on the Compiler APIs (Roslyn + Mocks)
|
Version | Downloads | Last updated |
---|---|---|
2.17.1 | 4,408 | 4/9/2023 |
2.17.0 | 1,042 | 4/6/2023 |
2.16.0 | 6,210 | 8/2/2022 |
2.15.0 | 3,265 | 4/2/2022 |
2.14.0 | 919 | 3/15/2022 |
2.13.0 | 905 | 2/6/2022 |
2.12.0 | 638 | 1/7/2022 |
2.11.0 | 1,101 | 12/5/2021 |
2.10.1 | 449 | 11/10/2021 |
2.10.0 | 361 | 11/6/2021 |
2.9.0 | 567 | 10/5/2021 |
2.8.0 | 643 | 9/4/2021 |
2.7.0 | 588 | 8/9/2021 |
2.6.0 | 1,259 | 7/3/2021 |
2.5.0 | 1,019 | 6/8/2021 |
2.4.0 | 602 | 5/7/2021 |
2.3.0 | 445 | 4/3/2021 |
2.2.0 | 493 | 3/6/2021 |
2.1.0 | 416 | 2/16/2021 |
2.0.0 | 491 | 1/2/2021 |
2.0.0-preview5 | 188 | 12/29/2020 |
2.0.0-preview4 | 298 | 12/8/2020 |
2.0.0-preview3 | 302 | 11/17/2020 |
2.0.0-preview2 | 358 | 8/21/2020 |
2.0.0-preview | 844 | 7/15/2020 |
1.9.0 | 507 | 12/4/2020 |
1.8.0 | 485 | 11/6/2020 |
1.7.0 | 506 | 10/2/2020 |
1.6.0 | 485 | 9/4/2020 |
1.5.0 | 443 | 8/7/2020 |
1.4.0 | 2,106 | 7/3/2020 |
1.3.0 | 753 | 6/5/2020 |
1.2.1 | 489 | 5/16/2020 |
1.2.0 | 494 | 5/1/2020 |
1.1.1 | 742 | 4/13/2020 |
1.1.0 | 511 | 4/5/2020 |
1.0.1 | 512 | 3/17/2020 |
1.0.0 | 649 | 3/6/2020 |
1.0.0-preview5 | 405 | 2/18/2020 |
1.0.0-preview4 | 341 | 2/8/2020 |
1.0.0-preview3 | 428 | 11/15/2019 |
Fix a minor regression with some OpenGL Span overloads. Read more about the 2.17 update here: https://dotnet.github.io/Silk.NET/blog/apr-2023/silk2170.html