Добавил функцию поиска индекса семейства на основании флагов
This commit is contained in:
@@ -12,6 +12,8 @@ typedef struct _PhysicalDevice
|
||||
VkPhysicalDeviceFeatures features; // функции
|
||||
VkPhysicalDeviceMemoryProperties memory; // память
|
||||
std::vector<VkQueueFamilyProperties> queueFamilyProperties; // семейства очередей
|
||||
|
||||
uint32_t pickQueueFamily(VkQueueFlags);
|
||||
} PhysicalDevice;
|
||||
|
||||
#endif // PHYSICALDEVICE_H
|
||||
|
||||
Reference in New Issue
Block a user