Structures
VkDeviceDeviceMemoryReportCreateInfoEXT
Register device memory report callbacks for a Vulkan device
To register callbacks for underlying device memory events of type
VkDeviceMemoryReportEventTypeEXT, add one or multiple
VkDeviceDeviceMemoryReportCreateInfoEXT structures to the pNext
chain of the VkDeviceCreateInfo structure.
typedef struct VkDeviceDeviceMemoryReportCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkDeviceMemoryReportFlagsEXT flags;
PFN_vkDeviceMemoryReportCallbackEXT pfnUserCallback;
void* pUserData;
} VkDeviceDeviceMemoryReportCreateInfoEXT;
pub struct DeviceDeviceMemoryReportCreateInfoEXT {
s_type: vk::StructureType,
p_next: *const c_void,
flags: vk::DeviceMemoryReportFlagsEXT,
pfn_user_callback: PFN_vkDeviceMemoryReportCallbackEXT,
p_user_data: *mut c_void,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.flagsis 0 and reserved for future use.pfnUserCallbackis the application callback function to call.pUserDatais NULL or an application-defined user data pointer to be passed to the callback.
The callback may be called from multiple threads simultaneously.
The callback must be called only once by the implementation when a VkDeviceMemoryReportEventTypeEXT event occurs.
The callback could be called from a background thread other than the thread
calling the Vulkan commands.
Valid Usage (Implicit)
VUID-VkDeviceDeviceMemoryReportCreateInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT
VUID-VkDeviceDeviceMemoryReportCreateInfoEXT-pfnUserCallback-parameter
pfnUserCallback must be a valid PFN_vkDeviceMemoryReportCallbackEXT value