# PFN_vkInternalFreeNotification(3) Manual Page

## Name

PFN_vkInternalFreeNotification - Application-defined memory free notification function

Loading… please wait.

## C Specification

The type of `pfnInternalFree` is:

    // Provided by VK_VERSION_1_0
    typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)(
        void*                                       pUserData,
        size_t                                      size,
        VkInternalAllocationType                    allocationType,
        VkSystemAllocationScope                     allocationScope);

## Parameters

- `pUserData` is the value specified for VkAllocationCallbacks::`pUserData` in the allocator specified by the application.

- `size` is the requested size of an allocation.

- `allocationType` is a VkInternalAllocationType value specifying the requested type of an allocation.

- `allocationScope` is a VkSystemAllocationScope value specifying the allocation scope of the lifetime of the allocation, as

## Description

    described link:https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#memory-host-allocation-scope[here^].

## See Also

VK_VERSION_1_0, VkAllocationCallbacks, VkInternalAllocationType, VkSystemAllocationScope

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