PFN_vkDeviceMemoryReportCallbackEXT(3)

# PFN_vkDeviceMemoryReportCallbackEXT(3) Manual Page

## Name

PFN_vkDeviceMemoryReportCallbackEXT - Application-defined device memory report callback function

Loading… please wait.

## C Specification

The prototype for the VkDeviceDeviceMemoryReportCreateInfoEXT::`pfnUserCallback` function implemented by the application is:

    // Provided by VK_EXT_device_memory_report
    typedef void (*PFN_vkDeviceMemoryReportCallbackEXT)(
        const VkDeviceMemoryReportCallbackDataEXT*  pCallbackData,
        void*                                       pUserData);

## Parameters

- `pCallbackData` contains all the callback related data in the VkDeviceMemoryReportCallbackDataEXT structure.

- `pUserData` is the application-defined user data pointer, equal to the value of VkDeviceDeviceMemoryReportCreateInfoEXT::`pUserData` specified when the VkDevice object was created.

## Description

The callback must not make calls to any Vulkan commands.

## See Also

VK_EXT_device_memory_report, VkDeviceDeviceMemoryReportCreateInfoEXT, VkDeviceMemoryReportCallbackDataEXT

## 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.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0