Function Prototype
vkGetPhysicalDeviceFeatures
Reports capabilities of a physical device
To query supported features, call:
void vkGetPhysicalDeviceFeatures(
VkPhysicalDevice physicalDevice,
VkPhysicalDeviceFeatures* pFeatures);
physicalDevice
is the physical device from which to query the supported features.pFeatures
is a pointer to a VkPhysicalDeviceFeatures structure in which the physical device features are returned. For each feature, a value ofVK_TRUE
specifies that the feature is supported on this physical device, andVK_FALSE
specifies that the feature is not supported.
Valid Usage (Implicit)
VUID-vkGetPhysicalDeviceFeatures-physicalDevice-parameter
physicalDevice
must be a valid VkPhysicalDevice handle
VUID-vkGetPhysicalDeviceFeatures-pFeatures-parameter
pFeatures
must be a valid pointer to a VkPhysicalDeviceFeatures structure