Interface VulkanHostAllocatorCallbacksType.InternalFreeNotificationType

All Known Subinterfaces:
VulkanHostAllocatorType
All Known Implementing Classes:
VulkanHostAllocatorTracker, VulkanLWJGLHostAllocatorJeMalloc
Enclosing interface:
VulkanHostAllocatorCallbacksType

public static interface VulkanHostAllocatorCallbacksType.InternalFreeNotificationType
A function called on internal allocations.
  • Method Details

    • onFree

      void onFree(long size, VulkanInternalAllocation type, VulkanSystemAllocationScope scope)
      Called upon internal deallocations. The function MUST NOT raise exceptions under any circumstances.
      Parameters:
      size - The allocation size in bytes
      type - The type of allocation
      scope - The scope of the allocation