Class VkInternalFreeNotification

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.vulkan.VkInternalFreeNotification
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, VkInternalFreeNotificationI

public abstract class VkInternalFreeNotification extends Callback implements VkInternalFreeNotificationI
Application-defined memory free notification function.
C Specification

The type of pfnInternalFree is:


 typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)(
     void*                                       pUserData,
     size_t                                      size,
     VkInternalAllocationType                    allocationType,
     VkSystemAllocationScope                     allocationScope);
Description

This is a purely informational callback.

See Also

VkAllocationCallbacks

  • Method Details

    • create

      public static VkInternalFreeNotification create(long functionPointer)
      Creates a VkInternalFreeNotification instance from the specified function pointer.
      Returns:
      the new VkInternalFreeNotification
    • createSafe

      @Nullable public static VkInternalFreeNotification createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      Creates a VkInternalFreeNotification instance that delegates to the specified VkInternalFreeNotificationI instance.