# Interface VulkanHostAllocatorCallbacksType.InternalAllocationNotificationType

All Known Subinterfaces:
  `VulkanHostAllocatorType`

All Known Implementing Classes:
  `VulkanHostAllocatorTracker`, `VulkanLWJGLHostAllocatorJeMalloc`

Enclosing interface:
  `VulkanHostAllocatorCallbacksType`

public static interface VulkanHostAllocatorCallbacksType.InternalAllocationNotificationType
A function called on internal allocations.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onAllocation(long size, VulkanInternalAllocation type, VulkanSystemAllocationScope scope)`
  Called upon internal allocations.

- ## Method Details

  - ### onAllocation

    void onAllocation(long size, VulkanInternalAllocation type, VulkanSystemAllocationScope scope)
    Called upon internal allocations. 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