{"id":16820028,"url":"https://github.com/isaacmarovitz/sharpmetal","last_synced_at":"2025-04-08T04:16:51.426Z","repository":{"id":169388142,"uuid":"645152680","full_name":"IsaacMarovitz/SharpMetal","owner":"IsaacMarovitz","description":"Handcrafted Metal bindings for C#","archived":false,"fork":false,"pushed_at":"2024-12-28T02:29:31.000Z","size":1192,"stargazers_count":65,"open_issues_count":4,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T05:35:51.683Z","etag":null,"topics":["csharp","dotnet","graphics","metal"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/SharpMetal/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IsaacMarovitz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-25T03:23:59.000Z","updated_at":"2025-04-03T10:50:21.000Z","dependencies_parsed_at":"2023-11-07T00:11:43.254Z","dependency_job_id":"272033e7-c9a8-4a31-a76d-9449b545119a","html_url":"https://github.com/IsaacMarovitz/SharpMetal","commit_stats":null,"previous_names":["isaacmarovitz/sharpmetal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsaacMarovitz%2FSharpMetal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsaacMarovitz%2FSharpMetal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsaacMarovitz%2FSharpMetal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsaacMarovitz%2FSharpMetal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IsaacMarovitz","download_url":"https://codeload.github.com/IsaacMarovitz/SharpMetal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773721,"owners_count":20993639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","graphics","metal"],"created_at":"2024-10-13T10:55:21.902Z","updated_at":"2025-04-08T04:16:51.398Z","avatar_url":"https://github.com/IsaacMarovitz.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# SharpMetal\n*Metal bindings for C#.*\n\n![](https://img.shields.io/github/actions/workflow/status/IsaacMarovitz/SharpMetal/format.yml?style=for-the-badge)\n\n\u003cimg width=\"624\" alt=\"primitive\" src=\"https://github.com/IsaacMarovitz/SharpMetal/assets/42140194/478e2341-7c5d-47ad-9638-615b3091cef1\"\u003e\n\u003c/div\u003e\n\n## Why?\n\nThe .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#.\n\n## What can you make with it?\n\nProgress 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.\n\n## I want to contribute!\n\nWonderful! SharpMetal is built with .NET 8.0, and follows a couple of specific guidelines:\n- Block Namespaces\n- Source Generated P/Invokes\n  - `LibraryImport` not `DllImport`\n- Use C# types where possible\n  - `NSInteger` -\u003e `long`\n  - `NSUInteger` -\u003e `ulong`\n- Mark structs and classes with `SupportedOSPlatform` attribute\n- SharpMetal is built for macOS primarily, so when there are platform-specific differences, use the macOS option\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaacmarovitz%2Fsharpmetal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisaacmarovitz%2Fsharpmetal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaacmarovitz%2Fsharpmetal/lists"}