Lugdunum  0.1.0
QueueFamily.cpp
Go to the documentation of this file.
2 
3 namespace lug {
4 namespace Graphics {
5 namespace Vulkan {
6 namespace API {
7 
8 QueueFamily::QueueFamily(uint32_t idx, VkQueueFlags flags) : _idx(idx), _flags(flags) {}
9 
11  _idx = queue._idx;
12  _flags = queue._flags;
13  _queues = std::move(queue._queues);
14  _queuesIndices = std::move(queue._queuesIndices);
15 
16  queue._idx = 0;
17  queue._flags = 0;
18 }
19 
21  _idx = queue._idx;
22  _flags = queue._flags;
23  _queues = std::move(queue._queues);
24  _queuesIndices = std::move(queue._queuesIndices);
25 
26  queue._idx = 0;
27  queue._flags = 0;
28 
29  return *this;
30 }
31 
32 } // API
33 } // Vulkan
34 } // Graphics
35 } // lug
QueueFamily & operator=(const QueueFamily &)=delete
std::unordered_map< std::string, uint32_t > _queuesIndices
Definition: QueueFamily.hpp:54