2022-02-07 15:29:59 +00:00
|
|
|
#ifndef PHYSICALDEVICE_H
|
|
|
|
#define PHYSICALDEVICE_H
|
|
|
|
|
|
|
|
#include <vulkan/vulkan.h>
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
typedef struct _PhysicalDevice
|
|
|
|
{
|
|
|
|
VkPhysicalDevice device; // устройство
|
|
|
|
VkPhysicalDeviceProperties properties; // параметры
|
|
|
|
VkPhysicalDeviceFeatures features; // функции
|
|
|
|
VkPhysicalDeviceMemoryProperties memory; // память
|
|
|
|
std::vector<VkQueueFamilyProperties> queueFamilyProperties; // семейства очередей
|
2022-02-08 09:21:35 +00:00
|
|
|
|
|
|
|
uint32_t pickQueueFamily(VkQueueFlags);
|
2022-02-07 15:29:59 +00:00
|
|
|
} PhysicalDevice;
|
|
|
|
|
|
|
|
#endif // PHYSICALDEVICE_H
|