{"id":25297842,"url":"https://github.com/olilarkin/metal-cpp-extensions","last_synced_at":"2025-04-06T22:12:49.951Z","repository":{"id":276224765,"uuid":"928628831","full_name":"olilarkin/metal-cpp-extensions","owner":"olilarkin","description":"Fork of https://gitlab.com/mark-grimes/metal-cpp-extensions","archived":false,"fork":false,"pushed_at":"2025-02-08T14:47:00.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T15:22:14.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olilarkin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-07T00:23:32.000Z","updated_at":"2025-02-08T14:47:03.000Z","dependencies_parsed_at":"2025-02-13T20:15:29.996Z","dependency_job_id":null,"html_url":"https://github.com/olilarkin/metal-cpp-extensions","commit_stats":null,"previous_names":["olilarkin/metal-cpp-extensions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olilarkin%2Fmetal-cpp-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olilarkin%2Fmetal-cpp-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olilarkin%2Fmetal-cpp-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olilarkin%2Fmetal-cpp-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olilarkin","download_url":"https://codeload.github.com/olilarkin/metal-cpp-extensions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557770,"owners_count":20958046,"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":[],"created_at":"2025-02-13T03:55:07.064Z","updated_at":"2025-04-06T22:12:49.932Z","avatar_url":"https://github.com/olilarkin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# metal-cpp-extensions\n\nC++ bindings into Apple's platform SDK to help with using Metal directly from C++. The majority of the code is from Apple, taken from their [Learn Metal with C++](https://developer.apple.com/metal/LearnMetalCPP.zip) example but with some things added by me. This will probably never be an exhaustive set of bindings, I just add what I need when I need them.\n\n## Additions to Apple's code\n\n* AppKit\n    * NS::GridView\n        * only creating from an NS::Array of NS::Arrays of NS::Views.\n    * NS::StackView\n        * only creating from an NS::Array NS::Views.\n        * allows setting orientation.\n        * allows setting the distribution.\n* MetalKit\n    * MTK::TextureLoader\n        * only has the `MTL::Texture* newTexture( const NS::URL* URL, const NS::Dictionary* options, NS::Error** error );` method, and I haven't tested setting anything other than `nullptr` for the options.\n* Metal Performance Shaders\n    * MPS::Image\n        * only has creation from MTL::Texture and MPS::ImageDescriptor; and conversion back to MTL::Texture.\n    * MPS::ImageGaussianBlur\n    * MPS::ImageGaussianPyramid\n        * Only the in place `encode` method works. I think this is an MPS internal thing, see Apple's [documentation for MPSImageGaussianPyramid] (https://developer.apple.com/documentation/metalperformanceshaders/mpsimagegaussianpyramid?language=objc).\n    * MPS::ImageSubtract\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folilarkin%2Fmetal-cpp-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folilarkin%2Fmetal-cpp-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folilarkin%2Fmetal-cpp-extensions/lists"}