IsaacMarovitz/SharpMetal
IsaacMarovitz/SharpMetal has 98 GitHub stars and 12 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 16:23 UTC. Last push 2025-11-19.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Handcrafted Metal bindings for C#
Creative & MediaREADME.md
OriginalSharpMetal
Metal bindings for C#.
Why?
The .NET ecosystem is very much lacking a good Metal binding package. Existing options are outdated or don't integrate well into cross-platform projects. This project aims to be a complete, up-to-date package that stays true to the original API while making the API easy to use and integrate into C#.
What can you make with it?
Progress is underway to build a full set of working reimplementations of the metal-cpp samples. Thanks to the generator, the entire Metal API, from compute shaders to raytracing, should be available, although specific things may take further tweaking.
I want to contribute!
Wonderful! SharpMetal is built with .NET 8.0/9.0, and follows a couple of specific guidelines:
- Block Namespaces
- Source Generated P/Invokes
LibraryImportnotDllImport
- Use C# types where possible
NSInteger->longNSUInteger->ulong
- Mark structs and classes with
SupportedOSPlatformattribute - SharpMetal is built for macOS primarily, so when there are platform-specific differences, use the macOS option