Skip to content

File vulkan_context.hpp

File List > data_format > vulkan_context.hpp

Go to the documentation of this file

#pragma once

// This header is intentionally minimal so it can be included by any plugin
// without pulling in large Vulkan or ILLIXR framework headers.  Plugins that
// need the full Vulkan API must include  themselves before
// including this file (or rely on their own transitive includes).

#include 
#include 

namespace ILLIXR::data_format {

struct vulkan_device_context {
    VkInstance       instance        = VK_NULL_HANDLE;
    VkPhysicalDevice physical_device = VK_NULL_HANDLE;
    VkDevice         device          = VK_NULL_HANDLE;
    VkQueue          queue           = VK_NULL_HANDLE;
    uint32_t         queue_family    = 0;
};

} // namespace ILLIXR::data_format