To query general properties of physical devices once enumerated, call:
// Provided by VK_VERSION_1_1 void vkGetPhysicalDeviceProperties2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties);
or the equivalent command
// Provided by VK_KHR_get_physical_device_properties2 void vkGetPhysicalDeviceProperties2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties);
physicalDeviceis the handle to the physical device whose properties will be queried.
pPropertiesis a pointer to a VkPhysicalDeviceProperties2 structure in which properties are returned.
Each structure in
pProperties and its
pNext chain contain
members corresponding to properties or implementation-dependent limits.
vkGetPhysicalDeviceProperties2 writes each member to a value
indicating the value of that property or limit.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.