{"id":20810082,"url":"https://github.com/schwa/renderkit","last_synced_at":"2025-05-07T08:12:51.639Z","repository":{"id":176405540,"uuid":"441973415","full_name":"schwa/RenderKit","owner":"schwa","description":"Yet another Metal Rendering engine experiment…","archived":false,"fork":false,"pushed_at":"2025-01-07T23:09:57.000Z","size":126836,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T08:12:39.574Z","etag":null,"topics":["metal","swift","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schwa.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":"2021-12-26T20:00:13.000Z","updated_at":"2025-04-24T02:21:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"82ed564e-c1d5-4f45-9db7-155ba36cac45","html_url":"https://github.com/schwa/RenderKit","commit_stats":null,"previous_names":["schwa/renderkit"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2FRenderKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2FRenderKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2FRenderKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2FRenderKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schwa","download_url":"https://codeload.github.com/schwa/RenderKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252839296,"owners_count":21812090,"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":["metal","swift","swiftui"],"created_at":"2024-11-17T20:19:33.292Z","updated_at":"2025-05-07T08:12:51.619Z","avatar_url":"https://github.com/schwa.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RenderKit\n\nYet another Metal Rendering engine experiment…\n\n## Assumptions\n\nPost-multiplication, Column-Major, Right-handed, Y up\n\n## Screenshots\n\n![Latest Screenshot](\u003cDocumentation/Screenshot 2023-09-19 at 19.51.00.png\u003e)\n![Older Screenshot](\u003cDocumentation/Screenshot 2023-07-01 at 08.06.29.png\u003e)\n\n## Goals\n\n### Longer Term\n\n* Tie into WASD/Game Controller system (from RenderKit - move code to Everything)\n* Render the position of lights\n* Learn from [RenderKit2](https://github.com/schwa/RenderKit/tree/RenderKit2) \u0026 [RenderKitClassic](https://github.com/schwa/RenderKit/tree/RenderKitClassic)\n* More type-safety. Especially pipeline attributes\n* Async. (Good luck)\n* Outputs\n  * A unified \"renderable\" system. Can render to any of multiple locations - MTKView, \"raw\" CAMetalLayer, offscreen textures, VistionKit immersive spaces etc.\n  * ~~Built-in offscreen renderer~~ (Working but API can be fixed)\n  * Built-in support for ~~MTKView~~ and CAMetalLayer\n  * VisionKit 'CPSceneSessionRoleImmersiveSpaceApplication' output\n  * (The more outputs the less fragile the APO will be)\n* Simpler API for just getting shit on-screen\n  * Create a simple render API that takes a single pipeline\n* RenderEnvironment variables modelled after SwiftUI.Environment for safety\n* Use Function-builder for pipelines/stages etc\n* Cleaner render model that more closely matches Metal.\n* Built-in support for RenderGraph editor (use NodeEditor)\n* Work with multi-sample, ray tracing\n* Figure out how to #include metal headers across packages (likely not possible).\n* Get more helper code of RenderKit and into MetalSupport etc\n* Use Spatial framework\n  * Use the shape code from Spatial to bring in a `shape3d` type that can export MTKMeshes* Simple SwiftUI Canvas style line drawing mode.\n  * Some of the rotation code here may be useful - what else is new in Spatial?\n* Bring over my Projection package (3d vector graphics)\n* Take advantage of Swift macros (macro to encode struct into a buffer compatible with SwiftUI)\n* Sort out the various projection APIs\n\n## Links\n\n* \u003chttp://www.faqs.org/faqs/graphics/algorithms-faq/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwa%2Frenderkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschwa%2Frenderkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwa%2Frenderkit/lists"}