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

◆ VKDevice() [3/3]

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

Definition at line 192 of file VKDevice.cpp.

193 : m_physical_device(other.m_physical_device)
194 , m_logical_device(other.m_logical_device)
195 , m_graphics_queue(other.m_graphics_queue)
196 , m_compute_queue(other.m_compute_queue)
197 , m_transfer_queue(other.m_transfer_queue)
198 , m_queue_families(other.m_queue_families)
199 , m_graphics_presents(other.m_graphics_presents)
200 , m_present_queues(std::move(other.m_present_queues))
201 , m_device_name(std::move(other.m_device_name))
202 , m_device_uuid(other.m_device_uuid)
203 , m_supports_mesh_shaders(other.m_supports_mesh_shaders)
204{
205 other.m_physical_device = VK_NULL_HANDLE;
206 other.m_logical_device = VK_NULL_HANDLE;
207 other.m_graphics_queue = VK_NULL_HANDLE;
208 other.m_compute_queue = VK_NULL_HANDLE;
209 other.m_transfer_queue = VK_NULL_HANDLE;
210}
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