{"id":21730569,"url":"https://github.com/thekorn/vulkan-experiments","last_synced_at":"2025-06-19T08:32:43.019Z","repository":{"id":246423814,"uuid":"821001509","full_name":"thekorn/vulkan-experiments","owner":"thekorn","description":"vulkan experiments in zig","archived":false,"fork":false,"pushed_at":"2024-06-30T21:19:49.000Z","size":1395,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T20:09:53.152Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","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/thekorn.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":"2024-06-27T15:52:41.000Z","updated_at":"2024-06-30T21:19:51.000Z","dependencies_parsed_at":"2024-06-27T23:08:07.349Z","dependency_job_id":null,"html_url":"https://github.com/thekorn/vulkan-experiments","commit_stats":null,"previous_names":["thekorn/vulkan-experiments"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekorn%2Fvulkan-experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekorn%2Fvulkan-experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekorn%2Fvulkan-experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekorn%2Fvulkan-experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thekorn","download_url":"https://codeload.github.com/thekorn/vulkan-experiments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244707550,"owners_count":20496754,"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":"2024-11-26T04:16:19.206Z","updated_at":"2025-03-20T23:24:25.450Z","avatar_url":"https://github.com/thekorn.png","language":"Zig","readme":"# vulkan experiments\n\nThis is a playground to experiment with the vulkan api in zig.\ncurrently it is drawing a triangle.\n\n![triangle](./doc/triangle.png)\n\n## running\n\nEasiest ist to spawn the nix shell, which includes all dependencies.\n\n```bash\nnix-shell\n```\n\nwithin the shell, run the application\n\n```bash\nzig build run\n```\n\nor, alternativly, run the application and debug print the vulkan api calls\n\n```bash\nVK_INSTANCE_LAYERS=VK_LAYER_LUNARG_api_dump zig build run\n```\n\nAlternatively, use `vkconfig` for more fine grained layers config.\n\nMore verbose moltenVK logging\n\n```bash\nMVK_CONFIG_LOG_LEVEL=2 zig build run\n```\n\n## code generations\n\nIn order to (re-)generate the c bindings, run\n\n```bash\nzig build -Dgenerate-bindings\n```\n\n## ressources\n\n- [Vulkan Tutorial](https://vulkan-tutorial.com/)\n- [Vulkan youtube series by Codotaku](https://www.youtube.com/watch?v=Kf7BIPUUfsc) with [source code](https://github.com/CodesOtakuYT/vulkan_zig)\n- [Vulkan \u0026 SDL2 by Codotaku](https://www.youtube.com/playlist?list=PLlKj-4rp1Gz2KfP0B0XN2a5i-WFjhyzrh) with [source](https://github.com/CodesOtakuYT/zig_vk)\n- [zig + vulkan + glfw by andrewrk](https://github.com/andrewrk/zig-vulkan-triangle/tree/master)\n- [vulkan game engine tutorials by Brendan Galea](https://www.youtube.com/playlist?list=PL8327DO66nu9qYVKLDmdLW_84-yE4auCR) with [source code](https://github.com/blurrypiano/littleVulkanEngine)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekorn%2Fvulkan-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthekorn%2Fvulkan-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekorn%2Fvulkan-experiments/lists"}