Information about tools providing debugging, profiling, or similar services, active for a given physical device, can be obtained by calling:
// Provided by VK_VERSION_1_3 VkResult vkGetPhysicalDeviceToolProperties( VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolProperties* pToolProperties);
or the equivalent command
// Provided by VK_EXT_tooling_info VkResult vkGetPhysicalDeviceToolPropertiesEXT( VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolProperties* pToolProperties);
physicalDeviceis the handle to the physical device to query for active tools.
pToolCountis a pointer to an integer describing the number of tools active on
NULLor a pointer to an array of VkPhysicalDeviceToolProperties structures.
NULL, then the number of tools currently
physicalDevice is returned in
pToolCount must point to a variable set by the user to the
number of elements in the
pToolProperties array, and on return the
variable is overwritten with the number of structures actually written to
pToolCount is less than the number of currently active tools, at
pToolCount structures will be written.
The count and properties of active tools may change in response to events outside the scope of the specification. An application should assume these properties might change at any given time.
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.