Designed to provide a high-performance WebGPU backend for https://github.com/friflo/Friflo.Vectorization
enabling hardware-accelerated compute using wgpu-native with zero-overhead C# bindings."
Install dotnet tool ClangSharpPInvokeGenerator
dotnet tool install -g ClangSharpPInvokeGeneratorDownload libraries and include from: https://github.com/gfx-rs/wgpu-native/releases
with Power Shell
./download-wgpu-native.ps1Generate initial WebGPU_native.cs with ClangSharp
ClangSharpPInvokeGenerator "@generate.rsp"generated WebGPU_native.cs requires adjustments
Make Rider happy by adding the comments at the top
// ReSharper disable UnusedType.Global
// ReSharper disable InconsistentNaming
// ReSharper disable PartialTypeWithSinglePartStrip long enum names.
./strip_enums.ps1Strip long type names
./strip_types.ps1