PFN_VKINTERNALALLOCA(3)

NAME
PFN_vkInternalAllocationNotification - Application-defined memory allocation notification function

C SPECIFICATION

The type of pfnInternalAllocation is:

    typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)(
        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 the requested type of an allocation.

    • allocationScope is a VkSystemAllocationScope value specifying the allocation scope of the lifetime of the allocation, as described here.

DESCRIPTION

This is a purely informational callback.

SEE ALSO

VkAllocationCallbacks

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#PFN_vkInternalAllocationNotification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.