vulkan-hpp

Open-Source Vulkan C++ API

Latest version: 1.4.335

Add to xmake.lua

add_requires("vulkan-hpp 1.4.335")

Learn how to add and link packages with Xmake →

Information

License
Apache-2.0
Kind
library
Recipe updated
2026-10-17T08:07:39.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • mingw: i386, x86_64, arm, arm64
  • android: armeabi, armeabi-v7a, arm64-v8a, riscv64, x86, x86_64, mips, mip64
  • windows: x86, x64
  • iphoneos: arm64, x86_64
  • macosx: x86_64, arm64

Options

modules
Build with C++20 modules support. · Type: boolean · Default: false

Versions

  • v1.2.180
  • v1.2.189
  • v1.2.198
  • v1.3.231
  • v1.3.236
  • v1.3.240
  • v1.3.244
  • v1.3.254
  • v1.3.261
  • v1.3.268
  • v1.3.272
  • v1.3.275
  • v1.3.276
  • v1.3.277
  • v1.3.278
  • v1.3.279
  • v1.3.280
  • v1.3.281
  • v1.3.282
  • v1.3.283
  • v1.3.290
  • v1.4.309
  • v1.4.335

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "vulkan-hpp 1.4.335"

show info

xrepo info "vulkan-hpp"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("vulkan-hpp 1.4.335")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("vulkan-hpp")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "vulkan-hpp 1.4.335" shell