24 uint32_t queuesUsed{0};
40 void setExtensions(
const std::vector<const char*>& extensions);
41 void setFeatures(VkPhysicalDeviceFeatures features);
43 uint8_t
addQueues(VkQueueFlags queueFlags,
const std::vector<std::string>& queuesNames);
47 std::unique_ptr<API::Device>
build(VkResult* returnResult =
nullptr);
50 bool addQueue(VkQueueFlags queueFlags,
const std::string& queueName);
VkPhysicalDeviceFeatures _features
void setExtensions(const std::vector< const char *> &extensions)
std::vector< Queue > queues
bool addQueue(VkQueueFlags queueFlags, const std::string &queueName)
std::vector< QueueFamily > _queueFamiliesInfos
uint8_t addQueues(VkQueueFlags queueFlags, const std::vector< std::string > &queuesNames)
bool build(API::Device &device, VkResult *returnResult=nullptr)
void setFeatures(VkPhysicalDeviceFeatures features)
Device(const PhysicalDeviceInfo &physicalDeviceInfo)
std::vector< std::string > names
Device & operator=(const Device &)=delete
std::vector< const char * > _extensions
const PhysicalDeviceInfo & _physicalDeviceInfo