Skip to content

Releases: dotnet/Silk.NET

2.14 March 2022 Update

15 Mar 18:56
36f3130
Compare
Choose a tag to compare

Silk.NET March 2022 Update

  • Add a Version13 convenience property (thanks @Eeveelution)
  • Add DXGI_CREATE_FACTORY_DEBUG Constant to DXGI (thanks @Eeveelution)
  • Update to Vulkan 1.3.207
  • Update to latest OpenCL specifications
  • Update to latest OpenGL specifications
  • Fix SilkMarshal.StringToPtr throwing "buffer is too small to contain the encoded data" in some cases
  • Fix Direct3D11 having its own ID3D10Blob type
  • Fix Assimp using the wrong quaternion types
  • Fix SDL windowing backend causing lots of allocations
  • Fix GLFW windowing backend circular reference/memory leak

This release may be breaking for users, but those users who experience breaking changes most likely had code that didn't work anyway.

2.13 February 2022 Update

06 Feb 11:46
f0d480c
Compare
Choose a tag to compare

Silk.NET February 2022 Update

  • Add an OpenGLES version of the ImGui plugin (thanks @Beyley)
  • Add an initial version of a Rider/ReSharper plugin to open Khronos specifications with one click (may not be available for install immediately)
  • Update to OpenXR 1.0.22
  • Update to Vulkan 1.3.205 (NB: The NuGet release notes are wrong here)
  • Update to latest OpenCL specifications
  • Fix mouse scroll wheels state not always being up-to-date on the SDL backend (thanks @paralaxsd)

In addition, thanks to @roeyskoe for contributing lots of behind-the-scenes changes to improve the Silk.NET native packaging experience.

2.12 January 2022 Update

07 Jan 22:47
fea3893
Compare
Choose a tag to compare

Silk.NET January 2022 Update

  • Add support for retrieving the clipboard text on IKeyboard (thanks @Beyley)
  • Add a constructor for customizing the ImGui configuration before ImGuiController applies its configuration (thanks @sampletext32)
  • Add Flags attributes to all bitmasks generated from C++ headers (i.e. DirectX), fixing warnings on usage
  • Update to latest OpenCL specifications
  • Update to Vulkan 1.2.203 (from 1.2.201, not 1.2.210 as the previous update indicated)
  • Fix input information being one or two frames behind due to running in DoUpdate instead of DoEvents
  • Fix BuildTools incorrectly defaulting to Cdecl instead of Winapi (fixes 32-bit issues)
  • Fix string marshalling not allocating enough memory for multibyte UTF8 strings
  • Fix a DivideByZeroException in PointToFramebuffer thrown in some circumstances
  • Fix SymbolLoadingExceptions on usage of GetStringList functions in OpenAL

2.11 December 2021 Update

06 Dec 20:29
Compare
Choose a tag to compare

Silk.NET December 2021 Update

  • Add a high-level C# wrapper over Vulkan Structure Chains (thanks @thargy).
  • Add a WindowClass option in Windowing for setting the X11 class name (thanks @Pyrdacor)
  • Add a IsContextControlDisabled option in Windowing to disable automatically making OpenGL contexts current
  • Add support for cloning Vk objects to allow reuse of their function tables independently
  • Update to latest OpenCL specifications
  • Update to latest OpenGL and OpenGLES specifications
  • Update to Vulkan 1.2.210
  • Fix string marshalling regression which resulted in multiple string-overloaded functions throwing
  • Fix multiple input-related problems when using the SDL backend of our Windowing abstractions
  • Discontinued support for Legacy Xamarin (exclusively supporting .NET 6 mobile from now on)

2.10.1 .NET Conf 2021 Update

10 Nov 19:44
d5dd325
Compare
Choose a tag to compare

Silk.NET .NET Conf 2021 Update

  • Fixes issues with 2.10 (compiled against .NET 6 RC1) not working correctly in projects using the .NET 6 Release SDK.

2.10 November 2021 Update

06 Nov 00:21
Compare
Choose a tag to compare

Silk.NET November 2021 Update

  • Added support for BigInteger and Complex in the Silk.NET.Maths.Scalar APIs. (thanks @WhiteBlackGoose)
  • Added helper constructors for maths types (Rectangle, Box2D, Box3D, etc). (thanks @nathan-alden-sr)
  • Added bitwise APIs to Silk.NET.Maths.Scalar. (thanks @WhiteBlackGoose)
  • Added support for configuring OpenGL multisamping.
  • Updated to Vulkan 1.2.197.
  • Updated to latest OpenCL specifications.
  • Updated to latest OpenGL specifications.
  • Updated DirectX and Win32 bindings to Windows 11 SDK.
  • Removed redundant references with no DLLs (i.e. BCL/legacy packages not needed on newer platforms, thanks @nathan-alden-sr @WhiteBlackGoose)
  • Removed problematic implicit-in OpenGL overloads (fixes the infamous VertexAttribPointer bug)
  • Fixed incorrect character encoding of keyboard (text) input on the SDL backend. (thanks @roeyskoe)
  • Fixed native libraries not being resolved despite being present in the "runtimes" folder.
  • Miscellaneous documentation fixes and improvements.

2.9 October 2021 Update

05 Oct 15:32
29dd1c6
Compare
Choose a tag to compare

Silk.NET October 2021 Update

  • Add bindings for DirectX Video Acceleration (DXVA)
  • Add bindings for D3D9Ex
  • Add bindings for extra core Win32 APIs (as required by DXVA)
  • Add a .NET 6 code path for GlobalMemory using NativeMemory
  • Add more TFMs in addition to .NET Standard 2.0 for DirectX bindings
  • Add enhanced anonymous struct support with ref-returning properties on .NET Standard 2.1 and up
  • Update to Vulkan 1.2.194
  • Update to latest OpenCL specifications
  • Fix MarshalDirectiveException when a struct containing a char passes across a native boundary
  • Fix Vulkan out parameters not having their structure type set before passing across the native boundary
  • Fix native libraries not being found in some cases for self-contained executables

2.8 September 2021 Update

04 Sep 14:07
Compare
Choose a tag to compare

Silk.NET September 2021 Update

  • Add TryGetExtension methods to AL & ALContext
  • Add support for .NET 6 Android
  • Update to Vulkan 1.2.190
  • Update to OpenXR 1.0.19
  • Update to latest OpenGL specifications
  • Update to latest OpenCL specifications
  • Fix calling CreateInput on an uninitialized IView resulting in a AccessViolationException
  • Fix calling Close on an uninitialized IView resulting in an AccessViolationException
  • Fix Silk.NET (and by extension SDL) taking full control of orientation on Android
  • Fix DoRender being called if Window.Close was called during DoUpdate
  • Fix Scalar.Abs for double values
  • Fix "Pfn" function pointer structures being marshalled with the incorrect calling convention
  • Fix Scalar.IsNaN and Scalar.IsInfinity returning true for non floating point types
  • Fix Box2D.Center returning bogus values
  • Fix incorrect documentation in Thumbstick.Direction
  • Fix incorrect documentation in WindowOptions

2.7 August 2021 Update

09 Aug 16:19
Compare
Choose a tag to compare

Silk.NET August 2021 Update

  • Add code signing to all Silk.NET binaries
  • Add support for platform-default calling conventions
  • Update to latest OpenGL specifications
  • Update to Vulkan 1.2.187
  • Update to OpenXR 1.0.18
  • Fix loading some OpenAL extensions

2.6 July 2021 Update

03 Jul 19:28
1409a8e
Compare
Choose a tag to compare

Silk.NET July 2021 Update

  • Add support for OpenAL Soft native libraries for ALContext
  • Update to Vulkan 1.2.183
  • Update to latest OpenCL specifications
  • Fix struct layout issues in DirectX and OpenXR bindings
  • Fix OpenCL library name resolution on Linux
  • Fix NU5127, NU5128, and NU1701 native package NuGet errors on .NET Framework
  • Improve FileNotFoundExceptions when native library loading fails
  • Improve GlobalMemory call chains by removing unnecessary usage of Span<T>