Module com.io7m.jcoronado.api
Package com.io7m.jcoronado.api
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAllocation(long size, VulkanInternalAllocation type, VulkanSystemAllocationScope scope)
Called upon internal allocations.
-
-
-
Method Detail
-
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 bytestype
- The type of allocationscope
- The scope of the allocation
-
-