Добавил функцию поиска индекса семейства на основании флагов

This commit is contained in:
2022-02-08 12:21:35 +03:00
parent f30ad1335f
commit f53f481f78
2 changed files with 18 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ typedef struct _PhysicalDevice
VkPhysicalDeviceFeatures features; // функции
VkPhysicalDeviceMemoryProperties memory; // память
std::vector<VkQueueFamilyProperties> queueFamilyProperties; // семейства очередей
uint32_t pickQueueFamily(VkQueueFlags);
} PhysicalDevice;
#endif // PHYSICALDEVICE_H