{"id":15108695,"url":"https://github.com/khronosgroup/vulkan-hpp","last_synced_at":"2026-05-04T13:01:58.554Z","repository":{"id":37396593,"uuid":"61292682","full_name":"KhronosGroup/Vulkan-Hpp","owner":"KhronosGroup","description":"Open-Source Vulkan C++ API","archived":false,"fork":false,"pushed_at":"2026-04-28T16:12:45.000Z","size":89389,"stargazers_count":3687,"open_issues_count":17,"forks_count":353,"subscribers_count":111,"default_branch":"main","last_synced_at":"2026-04-28T18:16:43.706Z","etag":null,"topics":["cpp","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/KhronosGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-06-16T12:51:55.000Z","updated_at":"2026-04-28T16:12:56.000Z","dependencies_parsed_at":"2026-02-10T11:23:49.244Z","dependency_job_id":null,"html_url":"https://github.com/KhronosGroup/Vulkan-Hpp","commit_stats":{"total_commits":1396,"total_committers":84,"mean_commits":16.61904761904762,"dds":0.2593123209169055,"last_synced_commit":"1055cb5e780c12fb2aab98949cc5a0d45f6ed0a1"},"previous_names":[],"tags_count":187,"template":false,"template_full_name":null,"purl":"pkg:github/KhronosGroup/Vulkan-Hpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FVulkan-Hpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FVulkan-Hpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FVulkan-Hpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FVulkan-Hpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KhronosGroup","download_url":"https://codeload.github.com/KhronosGroup/Vulkan-Hpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FVulkan-Hpp/sbom","scorecard":{"id":78396,"data":{"date":"2025-08-11","repo":{"name":"github.com/KhronosGroup/Vulkan-Hpp","commit":"7beac182b2974b406d6fd7e72053deca488f2707"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 3/26 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci-macos.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-ubuntu-22.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-ubuntu-24.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-windows.yml:1","Warn: no topLevel permission defined: .github/workflows/set-version-tag.yml:1","Warn: no topLevel permission defined: .github/workflows/update-header-pr.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-macos.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/ci-macos.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-macos.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/ci-macos.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-ubuntu-22.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/ci-ubuntu-22.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-ubuntu-22.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/ci-ubuntu-22.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-ubuntu-24.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/ci-ubuntu-24.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-ubuntu-24.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/ci-ubuntu-24.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-windows.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/ci-windows.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-windows.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/ci-windows.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/set-version-tag.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/set-version-tag.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-header-pr.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/update-header-pr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-header-pr.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/KhronosGroup/Vulkan-Hpp/update-header-pr.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T05:18:02.108Z","repository_id":37396593,"created_at":"2025-08-15T05:18:02.108Z","updated_at":"2025-08-15T05:18:02.108Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32608309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","vulkan"],"created_at":"2024-09-25T22:22:12.507Z","updated_at":"2026-05-04T13:01:58.536Z","avatar_url":"https://github.com/KhronosGroup.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Vulkan-Hpp: C++ bindings for Vulkan\n\n- [Overview](#overview)\n- [CI/CD status](#cicd-status)\n- [Documentation](#documentation)\n- [Installation and usage](#installation-and-usage)\n  - [Vulkan SDK](#vulkan-sdk)\n  - [vcpkg](#vcpkg)\n  - [Conan](#conan)\n- [Breaking Changes](#breaking-changes)\n  - [v1.4.334](#v14334)\n  - [v1.4.324](#v14324)\n  - [v1.4.329](#v14329)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Overview\n\nVulkan-Hpp provides header-only C++ bindings for the Vulkan C API to improve the developer experience with Vulkan without introducing run-time CPU costs.\nIt adds features like type safety for enumerations and bit-fields, STL container support, exception support, and several varieties of RAII-capable types.\n\nThis repository contains the [generators](VulkanHppGenerator.hpp) for Vulkan-Hpp, which accept the [XML specification of Vulkan](https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/refs/heads/main/xml/vk.xml) and emit C++ bindings, which are documented further below.\n\n## CI/CD status\n\n\u003c!-- TODO: This table is now broken with the recent changes to CI/CD. --\u003e\n| Platform | Build Status |\n|:--------|:------------|\n| **Windows**  | [![CI Windows Clang](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-windows-clang.yml/badge.svg)](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-windows-clang.yml) \u003cbr\u003e [![CI Windows MSVC](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-windows-msvc.yml/badge.svg)](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-windows-msvc.yml) |\n| **Linux**    | [![CI Ubuntu 22](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-ubuntu-22.yml/badge.svg)](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-ubuntu-22.yml) \u003cbr\u003e [![CI Ubuntu 24](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-ubuntu-24.yml/badge.svg)](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-ubuntu-24.yml) |\n| **macOS**    | [![CI MacOS](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-macos.yml/badge.svg)](https://github.com/KhronosGroup/Vulkan-Hpp/actions/workflows/ci-macos.yml) |\n\n## Documentation\n\nAll other documentation is in [`docs`](./docs/):\n\n1. [Building](./docs/Building.md) describes how to configure, build, and generate new headers.\n2. [Usage](./docs/Usage.md) explains how to use the various features of Vulkan-Hpp with detailed examples.\n3. [Configuration](./docs/Configuration.md) lists all the options available to configure the behaviour and features of Vulkan-Hpp.\n4. [Handles](./docs/Handles.md) is an overview of the three different families of handles provided by Vulkan-Hpp. These allow semantics similar to `std::unique_ptr`, `std::shared_ptr`, and also `vk::raii` types, which are [RAII](https://en.cppreference.com/w/cpp/language/raii.html) (resource acquisition is initialisation) handles that offer object-oriented semantics for Vulkan handles.\n\n\u003e [!NOTE]\n\u003e\n\u003e All macro configuration options [available in the C API](https://docs.vulkan.org/spec/latest/appendices/boilerplate.html) are also available and used in Vulkan-Hpp.\n\n## Installation and usage\n\n### Vulkan SDK\n\nVulkan-Hpp has been part of the [LunarG Vulkan SDK](https://www.lunarg.com/vulkan-sdk/) since version 1.0.24; this remains the recommended installation method.\nIf you need a more recent version than the SDK supports, then Vulkan-Hpp is also distributed as part of the [Khronos Group Vulkan-Headers repository](https://github.com/KhronosGroup/Vulkan-Headers).\n\n### vcpkg\n\nAs above, Vulkan-Hpp is provided in the [`vulkan-headers`](https://vcpkg.io/en/package/vulkan-headers) port in [vcpkg](https://github.com/Microsoft/vcpkg).\nOtherwise, you can also install the [`vulkan-sdk-components`](https://vcpkg.io/en/package/vulkan-sdk-components) port, which is a vcpkg equivalent to the LunarG-distributed Vulkan SDK.\n\n```bash\ngit clone https://github.com/Microsoft/vcpkg.git\ncd vcpkg\n./bootstrap-vcpkg.sh\n./vcpkg integrate install\n./vcpkg install vulkan-headers\n```\n\nFor support, [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.\n\n### Conan\n\nSimilar to vcpkg, Vulkan-Hpp can be installed as part of the [`vulkan-headers`](https://conan.io/center/recipes/vulkan-headers) recipe.\n\nThe vcpkg and Conan packages are kept up to date by Microsoft and members of the community.\nRequests for updates and issues with these packages should be directed to their respective repositories rather than here.\n\n## Breaking Changes\n\nWe try to keep the API for all flavours of Vulkan-Hpp constant or backwards compatible. However, we may introduce unavoidable breaking changes, usually to fix bugs. Following is a list of those changes, arranged by version.\n\n### v1.4.334\n\nThe `vulkan_hpp` C++ named module has been renamed to `vulkan`.\n\n### v1.4.324\n\nWith PR [#2226](https://github.com/KhronosGroup/Vulkan-Hpp/pull/2226), the return type of `vk::raii::Device::acquireNextImage2KHR` and `vk::raii::SwapchainKHR::acquireNextImage` has changed from `std::pair\u003cvk::Result,uint32_t\u003e` to the equivalent `vk::ResultValue\u003cuint32_t\u003e`\n\n### v1.4.329\n\nWith PR [#2303](https://github.com/KhronosGroup/Vulkan-Hpp/pull/2303), `import std` was made mandatory when using the C++ named module.\n\n## Contributing\n\nFeel free to submit a PR to add to this list.\nYou should use clang-format version 22.1.1 to format the generated files.\n\n- [Examples](https://github.com/jherico/vulkan) A port of Sascha Willems [examples](https://github.com/SaschaWillems/Vulkan) to Vulkan-Hpp\n- [Vookoo](https://github.com/andy-thomason/Vookoo/) Stateful helper classes for Vulkan-Hpp, [Introduction Article](https://accu.org/journals/overload/25/139/overload139.pdf#page=14).\n\n## License\n\nCopyright 2015-2026 The Khronos Group Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhronosgroup%2Fvulkan-hpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhronosgroup%2Fvulkan-hpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhronosgroup%2Fvulkan-hpp/lists"}