Snapshot of KhronosGroup/Vulkan-Hpp: 3.8k★, C++, Backend. Open-Source Vulkan C++ API
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Vulkan-Hpp provides header-only C++ bindings for the Vulkan C API to improve the developer experience with Vulkan without introducing run-time CPU costs.
It adds features like type safety for enumerations and bit-fields, STL container support, exception support, and several varieties of RAII-capable types.
This repository contains the generators for Vulkan-Hpp, which accept the XML specification of Vulkan and emit C++ bindings, which are documented further below.
CI/CD status
We test a wide range of compilers across Windows, Linux and MacOS (via MoltenVK).
Below is a matrix representing all of the runner permutations used for automated testing.
For more details, check out the workflow that governs these runners.
GCC
Clang
MSVC
Windows 2022 Windows 2025
- -
17 18
VS 17 2022 VS 18 2026
Ubuntu 22.04 Ubuntu 24.04
10, 11 12, 13, 14
13, 14, 15 16, 17, 18
- -
MacOS 14 MacOS 15 MacOS 26
- - -
15 17 17
- - -
Documentation
All other documentation is in docs:
Building describes how to configure, build, and generate new headers.
Usage explains how to use the various features of Vulkan-Hpp with detailed examples.
Configuration lists all the options available to configure the behaviour and features of Vulkan-Hpp.
Handles 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 (resource acquisition is initialisation) handles that offer object-oriented semantics for Vulkan handles.
[!NOTE]
All macro configuration options available in the C API are also available and used in Vulkan-Hpp.
Installation and usage
Vulkan SDK
Vulkan-Hpp has been part of the LunarG Vulkan SDK since version 1.0.24; this remains the recommended installation method.
If 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.
vcpkg
As above, Vulkan-Hpp is provided in the vulkan-headers port in vcpkg.
Otherwise, you can also install the vulkan-sdk-components port, which is a vcpkg equivalent to the LunarG-distributed Vulkan SDK.
For support, create an issue or pull request on the vcpkg repository.
Conan
Similar to vcpkg, Vulkan-Hpp can be installed as part of the vulkan-headers recipe.
The vcpkg and Conan packages are kept up to date by Microsoft and members of the community.
Requests for updates and issues with these packages should be directed to their respective repositories rather than here.
Breaking Changes
We 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.
v1.4.357
For device level initialization of the Vulkan-Hpp dispatcher, usually called via VULKAN_HPP_DEFAULT_DISPATCHER.init( instance, vkGetInstanceProcAddr, device, vkGetDeviceProcAddr ), the fourth argument, vkGetDeviceProcAddr, has changed from optional to required.
v1.4.351
In order to improve argument safety, the interface of functions taking a C-array of values has changed to take a std::array, instead.
The affected functions are:
The vulkan_hpp C++ named module has been renamed to vulkan.
v1.4.324
With PR #2226, the return type of vk::raii::Device::acquireNextImage2KHR and vk::raii::SwapchainKHR::acquireNextImage has changed from std::pair<vk::Result,uint32_t> to the equivalent vk::ResultValue<uint32_t>
v1.4.329
With PR #2303, import std was made mandatory when using the C++ named module.
Contributing
Feel free to submit a PR to add to this list.
You should use clang-format version 23.1.0 to format the generated files.
Examples A port of Sascha Willems examples to Vulkan-Hpp
Vookoo Stateful helper classes for Vulkan-Hpp, Introduction Article.
License
Copyright 2015-2026 The Khronos Group Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Does KhronosGroup/Vulkan-Hpp have a project website?
No homepage URL was recorded for KhronosGroup/Vulkan-Hpp in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Is KhronosGroup/Vulkan-Hpp open source?
Yes — KhronosGroup/Vulkan-Hpp ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/KhronosGroup/Vulkan-Hpp.
What else is in the Backend space?
KhronosGroup/Vulkan-Hpp is tracked by TopGit under the Backend category, alongside 2 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is KhronosGroup/Vulkan-Hpp?
KhronosGroup/Vulkan-Hpp (KhronosGroup/Vulkan-Hpp) is a C++ project on GitHub. From the project's own README: Open-Source Vulkan C++ API
What license does KhronosGroup/Vulkan-Hpp use?
KhronosGroup/Vulkan-Hpp is released under the Apache-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about KhronosGroup/Vulkan-Hpp?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/KhronosGroup/Vulkan-Hpp is the definitive source.
Why is KhronosGroup/Vulkan-Hpp categorized under Backend?
TopGit places KhronosGroup/Vulkan-Hpp in the Backend category based on its GitHub topics and description (tagged: "cpp", "vulkan"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Want a second opinion on Vulkan-Hpp?
Ask an AI that can read this page — one click and you get its take on Vulkan-Hpp.