MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ VKDevice() [3/3]

MayaFlux::Core::VKDevice::VKDevice ( VKDevice &&  other)
noexcept

Definition at line 212 of file VKDevice.cpp.

213 : m_physical_device(other.m_physical_device)
214 , m_logical_device(other.m_logical_device)
215 , m_graphics_queue(other.m_graphics_queue)
216 , m_compute_queue(other.m_compute_queue)
217 , m_transfer_queue(other.m_transfer_queue)
218 , m_queue_families(other.m_queue_families)
219 , m_graphics_presents(other.m_graphics_presents)
220 , m_present_queues(std::move(other.m_present_queues))
221 , m_device_name(std::move(other.m_device_name))
222 , m_device_uuid(other.m_device_uuid)
223 , m_supports_mesh_shaders(other.m_supports_mesh_shaders)
224{
225 other.m_physical_device = VK_NULL_HANDLE;
226 other.m_logical_device = VK_NULL_HANDLE;
227 other.m_graphics_queue = VK_NULL_HANDLE;
228 other.m_compute_queue = VK_NULL_HANDLE;
229 other.m_transfer_queue = VK_NULL_HANDLE;
230}
std::array< uint8_t, VK_UUID_SIZE > m_device_uuid
Selected device UUID.
Definition VKDevice.hpp:208
bool m_supports_mesh_shaders
Whether the device supports mesh shaders.
Definition VKDevice.hpp:209
vk::PhysicalDevice m_physical_device
Selected physical device (GPU)
Definition VKDevice.hpp:172
vk::Queue m_compute_queue
Compute queue handle.
Definition VKDevice.hpp:176
vk::Queue m_transfer_queue
Transfer queue handle.
Definition VKDevice.hpp:177
vk::Device m_logical_device
Logical device handle.
Definition VKDevice.hpp:173
bool m_graphics_presents
Graphics family passed the surfaceless presentation probe.
Definition VKDevice.hpp:205
std::unordered_map< uint32_t, vk::Queue > m_present_queues
One queue per presentation-capable family.
Definition VKDevice.hpp:206
std::string m_device_name
Selected device name, cached for logging.
Definition VKDevice.hpp:207
vk::Queue m_graphics_queue
Graphics queue handle.
Definition VKDevice.hpp:175
QueueFamilyIndices m_queue_families
Indices of required queue families.
Definition VKDevice.hpp:179