{"id":13731762,"url":"https://github.com/alaingalvan/vulkan-seed","last_synced_at":"2025-07-15T21:31:26.639Z","repository":{"id":41562625,"uuid":"208545042","full_name":"alaingalvan/vulkan-seed","owner":"alaingalvan","description":"🌋🌱 A Vulkan starter repo that you could use to get the ball rolling.","archived":false,"fork":false,"pushed_at":"2021-02-05T02:06:23.000Z","size":32,"stargazers_count":77,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T22:35:47.413Z","etag":null,"topics":["crosswindow","glm","starter","vulkan"],"latest_commit_sha":null,"homepage":"https://alain.xyz/blog/raw-vulkan","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alaingalvan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-15T05:06:54.000Z","updated_at":"2024-11-03T15:28:29.000Z","dependencies_parsed_at":"2022-08-30T09:50:08.968Z","dependency_job_id":null,"html_url":"https://github.com/alaingalvan/vulkan-seed","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fvulkan-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fvulkan-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fvulkan-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fvulkan-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alaingalvan","download_url":"https://codeload.github.com/alaingalvan/vulkan-seed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226071033,"owners_count":17569103,"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":["crosswindow","glm","starter","vulkan"],"created_at":"2024-08-03T02:01:37.946Z","updated_at":"2024-11-23T17:15:27.933Z","avatar_url":"https://github.com/alaingalvan.png","language":"C++","funding_links":[],"categories":["Graphics"],"sub_categories":[],"readme":"![Cover Art](https://alain.xyz/blog/raw-vulkan/assets/cover.jpg)\n\n# Vulkan Seed\n\n[![cmake-img]][cmake-url]\n[![License][license-img]][license-url]\n\nA Vulkan repo you can use to get started with your own renderer.\n\n## Setup\n\nFirst install:\n\n- [Git](https://git-scm.com/)\n\n- [CMake](https://cmake.org)\n\n- An IDE such as [Visual Studio](https://visualstudio.microsoft.com/downloads/), [XCode](https://developer.apple.com/xcode/), or a compiler such as [GCC](https://gcc.gnu.org/).\n\nThen type the following in your [terminal](https://hyper.is/).\n\n```bash\n# 🐑 Clone the repo\ngit clone https://github.com/alaingalvan/vulkan-seed --recurse-submodules\n\n# 💿 go inside the folder\ncd vulkan-seed\n\n# 👯 If you forget to `recurse-submodules` you can always run:\ngit submodule update --init\n\n# 👷 Make a build folder\nmkdir build\ncd build\n\n# 🖼️ To build your Visual Studio solution on Windows x64\ncmake .. -A x64\n\n# 🍎 To build your XCode project On Mac OS for Mac OS\ncmake .. -G Xcode\n\n# 📱 To build your XCode project on Mac OS for iOS / iPad OS / tvOS / watchOS\ncmake .. -G Xcode -DCMAKE_SYSTEM_NAME=iOS\n\n# 🐧 To build your .make file on Linux\ncmake ..\n\n# 🤖 To build your Android Studio project for Android\ncmake .. \\\n-DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake \\\n-DANDROID_ABI=$ABI \\\n-DANDROID_NATIVE_API_LEVEL=$MINSDKVERSION \\\n-DXWIN_OS=ANDROID\n\n# 🔨 Build on any platform:\ncmake --build .\n```\n\n\u003e Refer to [this blog post on designing C++ libraries and apps](https://alain.xyz/blog/designing-a-cpp-library) for more details on CMake, Git Submodules, etc.\n\n## Project Layout\n\nAs your project becomes more complex, you'll want to separate files and organize your application to something more akin to a game or renderer, check out this post on [game engine architecture](https://alain.xyz/blog/game-engine-architecture) and this one on [real time renderer architecture](https://alain.xyz/blog/realtime-renderer-architectures) for more details.\n\n```bash\n├─ 📂 external/                    # 👶 Dependencies\n│  ├─ 📁 crosswindow/                    # 🖼️ OS Windows\n│  ├─ 📁 crosswindow-graphics/           # 🎨 Vulkan Surface Creation\n│  └─ 📁 glm/                            # ➕ Linear Algebra\n├─ 📂 src/                         # 🌟 Source Files\n│  ├─ 📄 Utils.h                         # ⚙️ Utilities (Load Files, Check Shaders, etc.)\n│  ├─ 📄 Renderer.h                      # 🔺 Triangle Draw Code\n│  ├─ 📄 Renderer.cpp                    # -\n│  └─ 📄 Main.cpp                        # 🏁 Application Main\n├─ 📄 .gitignore                   # 👁️ Ignore certain files in git repo\n├─ 📄 CMakeLists.txt               # 🔨 Build Script\n├─ 📄 license.md                   # ⚖️ Your License (Unlicense)\n└─ 📃readme.md                     # 📖 Read Me!\n```\n\n[cmake-img]: https://img.shields.io/badge/cmake-3.6-1f9948.svg?style=flat-square\n[cmake-url]: https://cmake.org/\n[license-img]: https://img.shields.io/:license-mit-blue.svg?style=flat-square\n[license-url]: https://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fvulkan-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falaingalvan%2Fvulkan-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fvulkan-seed/lists"}