3#include <vulkan/vulkan.hpp>
4#include <vulkan/vulkan_handles.hpp>
11 static auto create(const ::vk::Instance &instance,
12 const ::vk::PhysicalDevice &physical_device,
25 const ::vk::PhysicalDevice &physical_device,
auto get_graphics_queue() const
Definition device.hpp:17
auto get() const -> ::vk::Device
Definition device.hpp:15
auto create_device(const ::vk::Instance &instance, const ::vk::PhysicalDevice &physical_device, const ::vk::SurfaceKHR &surface) -> expected< void >
Definition device.cpp:25
::vk::Queue present_queue_
Definition device.hpp:31
auto get_present_queue() const
Definition device.hpp:19
::vk::Device device_
Definition device.hpp:29
::vk::Queue graphics_queue_
Definition device.hpp:30
auto command_pool() const
Definition device.hpp:21
static auto create(const ::vk::Instance &instance, const ::vk::PhysicalDevice &physical_device, const ::vk::SurfaceKHR &surface) -> expected< Device >
Definition device.cpp:14
::vk::CommandPool command_pool_
Definition device.hpp:28
std::expected< T, Err > expected
Definition result.hpp:49