KhronosGroup/Vulkan-Hpp hiện có 3.8k sao trên GitHub, viết chủ yếu bằng C++. Open-Source Vulkan C++ API
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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.
KhronosGroup/Vulkan-Hpp thuộc nhóm Backend trên TopGit, cùng 2 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về KhronosGroup/Vulkan-Hpp ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/KhronosGroup/Vulkan-Hpp là nguồn chính thức.
KhronosGroup/Vulkan-Hpp có phải mã nguồn mở không?
Có — KhronosGroup/Vulkan-Hpp phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/KhronosGroup/Vulkan-Hpp.
KhronosGroup/Vulkan-Hpp có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho KhronosGroup/Vulkan-Hpp. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
KhronosGroup/Vulkan-Hpp dùng license gì?
KhronosGroup/Vulkan-Hpp phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
KhronosGroup/Vulkan-Hpp là gì?
KhronosGroup/Vulkan-Hpp (KhronosGroup/Vulkan-Hpp) là dự án C++ trên GitHub. Theo mô tả gốc: Open-Source Vulkan C++ API
Vì sao KhronosGroup/Vulkan-Hpp được xếp vào nhóm Backend?
TopGit xếp KhronosGroup/Vulkan-Hpp vào nhóm Backend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "cpp", "vulkan"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Vulkan-Hpp có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về Vulkan-Hpp.