C Specification
To query the set of object types that require periodic refreshing, call:
// Provided by VK_KHR_object_refresh
VkResult vkGetPhysicalDeviceRefreshableObjectTypesKHR(
VkPhysicalDevice physicalDevice,
uint32_t* pRefreshableObjectTypeCount,
VkObjectType* pRefreshableObjectTypes);
Parameters
-
physicalDeviceis the physical device from which to query the set of refreshable object types. -
pRefreshableObjectTypeCountis a pointer to an integer related to the number of refreshable object types available or queried, as described below. -
pRefreshableObjectTypesis eitherNULLor a pointer to an array of VkObjectType values, indicating the supported refreshable object types.
Description
If pRefreshableObjectTypes is NULL, then the number of refreshable
object types supported for the given physicalDevice is returned in
pRefreshableObjectTypeCount.
Otherwise, pRefreshableObjectTypeCount must point to a variable set
by the application to the number of elements in the
pRefreshableObjectTypes array, and on return the variable is
overwritten with the number of object types actually written to
pRefreshableObjectTypes.
If the value of pRefreshableObjectTypeCount is less than the number of
refreshable object types supported, at most
pRefreshableObjectTypeCount object types will be written, and
VK_INCOMPLETE will be returned instead of VK_SUCCESS, to
indicate that not all the available object types were returned.
Document Notes
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.