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 Summary
Modifier and TypeMethodDescriptionvoidonFree(long size, VulkanInternalAllocation type, VulkanSystemAllocationScope scope) Called upon internal deallocations.
-
Method Details
-
onFree
Called upon internal deallocations. The function MUST NOT raise exceptions under any circumstances.- Parameters:
size- The allocation size in bytestype- The type of allocationscope- The scope of the allocation
-