# 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 (VKAPI_PTR *PFN_vkDeviceMemoryReportCallbackEXT)(
        const VkDeviceMemoryReportCallbackDataEXT*  pCallbackData,
        void*                                       pUserData);

## Parameters

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

- `pUserData` is the user data provided when the VkDeviceDeviceMemoryReportCreateInfoEXT 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-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0