Magnum::Vk::Extensions namespace new in Git master

Compile-time information about Vulkan instance and device extensions.

Each extension is a struct named hierarchically by prefix, vendor and extension name taken from list at Support state, for example Vk::Extensions::EXT::debug_report. The only exceptions are KHR_8bit_storage and KHR_16bit_storage, which are prefixed with an underscore (so e.g. _8bit_storage instead of 8bit_storage).

Each struct has the same public methods as the InstanceExtension / Extension class (requiredVersion(), coreVersion() and string()), but these structs are better suited for compile-time decisions rather than Extension instances. See Instance::isExtensionEnabled() for example usage.

This library is built if MAGNUM_WITH_VK is enabled when building Magnum. To use this library with CMake, you need to request the Vk component of the Magnum package and link to the Magnum::Vk target:

find_package(Magnum REQUIRED Vk)

# ...
target_link_libraries(your-app Magnum::Vk)

See Downloading and building, Usage with CMake and Vulkan for more information.