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