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);
physicalDevice
is the physical device from which to query the supported features.pFeatures
is 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.
vkGetPhysicalDeviceFeatures2
writes each member to a boolean value
indicating whether that feature is supported.
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