{"id":13731861,"url":"https://github.com/alaingalvan/directx12-seed","last_synced_at":"2025-07-15T21:31:20.843Z","repository":{"id":41159016,"uuid":"208545085","full_name":"alaingalvan/directx12-seed","owner":"alaingalvan","description":"✖🌱 A DirectX 12 starter repo that you could use to get the ball rolling.","archived":false,"fork":false,"pushed_at":"2022-05-31T08:57:29.000Z","size":28,"stargazers_count":129,"open_issues_count":2,"forks_count":21,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T23:33:11.784Z","etag":null,"topics":["directx","introduction","seed"],"latest_commit_sha":null,"homepage":"https://alain.xyz/blog/raw-directx12","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:07:28.000Z","updated_at":"2024-11-14T21:53:47.000Z","dependencies_parsed_at":"2022-09-25T08:02:15.897Z","dependency_job_id":null,"html_url":"https://github.com/alaingalvan/directx12-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%2Fdirectx12-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fdirectx12-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fdirectx12-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2Fdirectx12-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alaingalvan","download_url":"https://codeload.github.com/alaingalvan/directx12-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":["directx","introduction","seed"],"created_at":"2024-08-03T02:01:40.171Z","updated_at":"2024-11-23T17:15:27.749Z","avatar_url":"https://github.com/alaingalvan.png","language":"C++","funding_links":[],"categories":["Graphics"],"sub_categories":[],"readme":"![Cover Art](https://alain.xyz/blog/raw-directx12/assets/cover.jpg)\n\n# DirectX 12 Seed\n\n[![cmake-img]][cmake-url]\n[![License][license-img]][license-url]\n\nA DirectX 12 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- [Visual Studio](https://visualstudio.microsoft.com/downloads/)\n\nThen type the following in your [terminal](https://hyper.is/).\n\n```bash\n# 🐑 Clone the repo\ngit clone https://github.com/alaingalvan/directx12-seed --recurse-submodules\n\n# 💿 go inside the folder\ncd directx12-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# 🔨 Build project\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/           # 🎨 DirectX 12 Swapchain 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%2Fdirectx12-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falaingalvan%2Fdirectx12-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fdirectx12-seed/lists"}