{"id":27154467,"url":"https://github.com/nilssonk/vulkan-cpp","last_synced_at":"2025-04-08T17:34:48.978Z","repository":{"id":44803755,"uuid":"418665936","full_name":"nilssonk/vulkan-cpp","owner":"nilssonk","description":"A modern C++ vulkan example.","archived":false,"fork":false,"pushed_at":"2022-02-15T23:42:27.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-03T23:29:00.238Z","etag":null,"topics":["cpp","cpp17","vulkan"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nilssonk.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}},"created_at":"2021-10-18T20:58:49.000Z","updated_at":"2021-12-06T21:55:47.000Z","dependencies_parsed_at":"2022-09-08T23:40:34.662Z","dependency_job_id":null,"html_url":"https://github.com/nilssonk/vulkan-cpp","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilssonk%2Fvulkan-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilssonk%2Fvulkan-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilssonk%2Fvulkan-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilssonk%2Fvulkan-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nilssonk","download_url":"https://codeload.github.com/nilssonk/vulkan-cpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247893846,"owners_count":21013980,"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":["cpp","cpp17","vulkan"],"created_at":"2025-04-08T17:34:43.545Z","updated_at":"2025-04-08T17:34:48.972Z","avatar_url":"https://github.com/nilssonk.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vulkan-cpp\n\nThis is a modern C++17 version of the example code from https://vulkan-tutorial.com\n\n![Clang Build and Lint](https://github.com/nilssonk/vulkan-cpp/actions/workflows/clang-build.yml/badge.svg)\n![GCC Build](https://github.com/nilssonk/vulkan-cpp/actions/workflows/gcc-build.yml/badge.svg)\n\n## Dependencies\n\nThere are a few dependencies required to build this example:\n\n### Bundled/Fetched by CMake\n\n-   fmt (https://github.com/fmtlib/fmt)\n-   GSL (https://github.com/microsoft/GSL)\n\n### Not included\n\n-   GLFW3 (https://github.com/glfw/glfw)\n-   Vulkan headers (https://github.com/KhronosGroup/Vulkan-Headers)\n-   Vulkan validation layers (https://github.com/KhronosGroup/Vulkan-ValidationLayers)\n-   The glslc compiler from shaderc (https://github.com/google/shaderc)\n\nIn order to run this example successfully, a working Vulkan runtime must be present and configured on your system.\n\n## Building\n\nThe recommended way of building this project is as follows:\n\n1. Grab the source code\n\n```\ngit clone https://github.com/nilssonk/vulkan-cpp\ncd vulkan-cpp\n```\n\n2. Run CMake to configure and build the project using presets and ninja-build\n\n```\n# Clang Debug build with clang-tidy static analysis enabled\ncmake --preset=clang-debug .\ncmake --build --preset=clang-debug\n# GCC Release build with LTO enabled\ncmake --preset=gcc-release-lto .\ncmake --build --preset=gcc-release-lto\n```\n\n## Running the example\n\nThe example should be run in build directory (default _${sourceDir}/build_) so that it can find the compiled shader files:\n\n```\n# In the build directory\nmain/vulkan_main\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilssonk%2Fvulkan-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnilssonk%2Fvulkan-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilssonk%2Fvulkan-cpp/lists"}