{"id":13514914,"url":"https://github.com/PENGUINLIONG/graphi-t","last_synced_at":"2025-03-31T04:36:05.700Z","repository":{"id":38453689,"uuid":"393197408","full_name":"PENGUINLIONG/graphi-t","owner":"PENGUINLIONG","description":"Handy tools \u0026 graphics API abstraction for blazing fast prototyping","archived":false,"fork":false,"pushed_at":"2024-01-17T12:54:25.000Z","size":430,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-25T08:51:23.602Z","etag":null,"topics":["vulkan"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PENGUINLIONG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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-08-05T23:52:37.000Z","updated_at":"2024-01-14T15:49:47.000Z","dependencies_parsed_at":"2024-01-17T14:59:01.941Z","dependency_job_id":null,"html_url":"https://github.com/PENGUINLIONG/graphi-t","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PENGUINLIONG%2Fgraphi-t","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PENGUINLIONG%2Fgraphi-t/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PENGUINLIONG%2Fgraphi-t/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PENGUINLIONG%2Fgraphi-t/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PENGUINLIONG","download_url":"https://codeload.github.com/PENGUINLIONG/graphi-t/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246418658,"owners_count":20773934,"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":["vulkan"],"created_at":"2024-08-01T05:01:03.693Z","updated_at":"2025-03-31T04:36:05.017Z","avatar_url":"https://github.com/PENGUINLIONG.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# GraphiT\n\nHandy tools \u0026 graphics API abstraction for blazing fast prototyping.\n\nThere exist lots of abstractions of graphics APIs (like [wgpu](https://github.com/gfx-rs/wgpu) and Unreal Engine RHI) but most of them intentionally hide their implementations and data structures over encapsulation and inheritance. Such design is extremely confusing and exhausting in my research projects. [GraphiT](https://github.com/PENGUINLIONG/graphi-t) is thus one of my attempts to get things done more easily.\n\nGraphiT has all (or most of those) you need for fast prototyping:\n\n- [Argument parsing](https://github.com/PENGUINLIONG/graphi-t/blob/main/include/gft/args.hpp) with flexibility;\n- [JSON ser/de](https://github.com/PENGUINLIONG/graphi-t/blob/main/include/gft/json.hpp) for configuration and structured serialization;\n- [Logging](https://github.com/PENGUINLIONG/graphi-t/blob/main/include/gft/json.hpp) with severity filtering \u0026 customized output callback;\n- [Hardware Abstraction Layer](https://github.com/PENGUINLIONG/graphi-t/blob/main/include/gft/hal/hal.hpp) over [Vulkan](https://github.com/PENGUINLIONG/graphi-t/blob/main/include/gft/vk.hpp) API with every handle accessible;\n- [Glslang](https://github.com/PENGUINLIONG/graphi-t/blob/main/include/gft/glslang.hpp) integration for on-the-flight shader compilation;\n- [Descriptive statistics](https://github.com/PENGUINLIONG/graphi-t/blob/main/include/gft/stats.hpp) to collect minimum, maximum, mean, etc.;\n- [BMP image writer, text editing, timer](https://github.com/PENGUINLIONG/graphi-t/blob/main/include/gft/util.hpp) and a lot more utility functions.\n\n## Run Examples\n\nYou can use the following commands to run the GraphiT demo on Windows host and Android device attached via adb:\n```powershell\n./Run-Host.ps1 -a Demo # Run on host.\n\n./Run-Android.ps1 -a Demo # Run on attached Android device over adb.\n```\n\n## Use GraphiT in Your Project\n\nYou can create a new repository on Github by clicking at the `Use this template` button in [GraphiT-Template](https://github.com/PENGUINLIONG/GraphiT-Template). It comes with a 'hello world' program using GraphiT as a Git submodule.\n\nGraphiT can also be integrated by `add_subdirectory` like many other CMake projects.\n\n## License\n\nThis project is licensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in GraphiT by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPENGUINLIONG%2Fgraphi-t","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPENGUINLIONG%2Fgraphi-t","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPENGUINLIONG%2Fgraphi-t/lists"}