vulkan-headers/1.3.268.0

Vulkan Header files.
Recipe info
2023-12-21

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
vulkan-headers/1.3.268.0

Using vulkan-headers

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
vulkan-headers/1.3.268.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("vulkan-headers/1.3.268.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): VulkanHeaders
  • CMake target name(s): vulkan-headers::vulkan-headers
  • vulkanheaders => Vulkan::Headers
    vulkanregistry => Vulkan::Registry
    
  • pkg-config file name(s): vulkan-headers.pc
  • vulkanheaders => vulkan-headers-vulkanheaders.pc
    vulkanregistry => vulkan-headers-vulkanregistry.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(VulkanHeaders REQUIRED)
# ...
target_link_libraries(YOUR_TARGET vulkan-headers::vulkan-headers)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the vulkan-headers homepage listed above:

#include "vk_video/vulkan_video_codec_h264std.h"
#include "vk_video/vulkan_video_codec_h264std_decode.h"
#include "vk_video/vulkan_video_codec_h264std_encode.h"
#include "vk_video/vulkan_video_codec_h265std.h"
#include "vk_video/vulkan_video_codec_h265std_decode.h"
#include "vk_video/vulkan_video_codec_h265std_encode.h"
#include "vk_video/vulkan_video_codecs_common.h"
#include "vulkan/vk_icd.h"
#include "vulkan/vk_layer.h"
#include "vulkan/vk_platform.h"
#include "vulkan/vulkan.cppm"
#include "vulkan/vulkan.h"
#include "vulkan/vulkan.hpp"
#include "vulkan/vulkan_android.h"
#include "vulkan/vulkan_beta.h"
#include "vulkan/vulkan_core.h"
#include "vulkan/vulkan_directfb.h"
#include "vulkan/vulkan_enums.hpp"
#include "vulkan/vulkan_extension_inspection.hpp"
#include "vulkan/vulkan_format_traits.hpp"
#include "vulkan/vulkan_fuchsia.h"
#include "vulkan/vulkan_funcs.hpp"
#include "vulkan/vulkan_ggp.h"
#include "vulkan/vulkan_handles.hpp"
#include "vulkan/vulkan_hash.hpp"
#include "vulkan/vulkan_hpp_macros.hpp"
#include "vulkan/vulkan_ios.h"
#include "vulkan/vulkan_macos.h"
#include "vulkan/vulkan_metal.h"
#include "vulkan/vulkan_raii.hpp"
#include "vulkan/vulkan_screen.h"
#include "vulkan/vulkan_shared.hpp"
#include "vulkan/vulkan_static_assertions.hpp"
#include "vulkan/vulkan_structs.hpp"
#include "vulkan/vulkan_to_string.hpp"
#include "vulkan/vulkan_vi.h"
#include "vulkan/vulkan_video.hpp"
#include "vulkan/vulkan_wayland.h"
#include "vulkan/vulkan_win32.h"
#include "vulkan/vulkan_xcb.h"
#include "vulkan/vulkan_xlib.h"
#include "vulkan/vulkan_xlib_xrandr.h"