Vulkan header files and API registry; The Khronos Group (2018).
npm install vulkan.c
sh
$ npm i vulkan.c
`
And then include vulkan.h as follows:
`c
// main.c
#include
int main() { / ... / }
`
Finally, compile while adding the path node_modules/vulkan.c to your compiler's include paths.
`bash
$ clang -I./node_modules/vulkan.c main.c # or, use gcc
$ gcc -I./node_modules/vulkan.c main.c
`
You may also use a simpler approach with the cpoach tool, which automatically adds the necessary include paths of all the installed dependencies for your project.
`bash
$ cpoach clang main.c # or, use gcc
$ cpoach gcc main.c
`
Contributing
See the CONTRIBUTING.md
Building
See BUILD.md
SDK Support
Vulkan-Headers are shipped as part of the official Vulkan-SDK
C/C++ Package Manager Support
Vulkan-Headers are also supported by both conan & vcpkg.
Version Tagging Scheme
Updates to this repository which correspond to a new Vulkan specification release are tagged using the following format: v<_version_> (e.g., v1.3.266).
Note: Marked version releases have undergone thorough testing but do not imply the same quality level as SDK tags. SDK tags follow the vulkan-sdk-<_version_>.<_patch_> format (e.g., vulkan-sdk-1.3.266.0).
This scheme was adopted following the 1.3.266` Vulkan specification release.