Function Prototype
vkGetPhysicalDeviceFeatures2
Reports capabilities of a physical device
To query supported features defined by the core or extensions, call:
void vkGetPhysicalDeviceFeatures2KHR(
VkPhysicalDevice physicalDevice,
VkPhysicalDeviceFeatures2* pFeatures);
physicalDeviceis the physical device from which to query the supported features.pFeaturesis a pointer to a VkPhysicalDeviceFeatures2 structure in which the physical device features are returned.
Each structure in pFeatures and its pNext chain contains members
corresponding to fine-grained features.
Each structure in pFeatures and its pNext chain contains
VkBool32 members corresponding to fine-grained features.
Each such member is returned with a VK_TRUE value indicating that
feature is supported on this physical device, or a VK_FALSE value
indicating it is unsupported.
Valid Usage (Implicit)
VUID-vkGetPhysicalDeviceFeatures2-physicalDevice-parameter
physicalDevice must be a valid VkPhysicalDevice handle
VUID-vkGetPhysicalDeviceFeatures2-pFeatures-parameter
pFeatures must be a valid pointer to a VkPhysicalDeviceFeatures2 structure