Welcome to the ComputeSharp wiki! ComputeSharp is a .NET library to run C# code in parallel on the GPU through DX12 or D2D1 and dynamically generated HLSL compute shaders. The available APIs let you access GPU devices, allocate GPU buffers and textures, move data between them and the RAM, write compute shaders entirely in C# and have them run on the GPU. The goal of this project is to make GPU computing easy to use for all .NET developers! ๐
Since an image is worth a thousand words, here's a screenshot of one of the pixel shaders (originally from shadertoy.com), ported from GLSL to C# and running with ComputeSharp in a WinUI 3 sample app. You can use this library to create all sorts of things from scientific simulations, to animated backgrounds, audio visualizers and more! ๐
Try out the sample app! ๐ปThe sample app is available in the Microsoft Store, showcasing several pixel shaders all powered by ComputeSharp!
Building and running ComputeSharp from the .NET solution filter has the following prerequisites:
Additionally, in order to also build and run all UWP and WinUI 3 projects, these components need to be installed:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4