The type of pfnInternalAllocation is:
typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)(
void* pUserData,
size_t size,
VkInternalAllocationType allocationType,
VkSystemAllocationScope allocationScope);
This is a purely informational callback.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static VkInternalAllocationNotification | Returns: the newVkInternalAllocationNotificationCreates a |
| public static VkInternalAllocationNotification | create(VkInternalAllocationNotificationI instance)
Creates a |
| public static VkInternalAllocationNotification |
| VkInternalAllocationNotification | back to summary |
|---|---|
| protected VkInternalAllocationNotification() | |
| VkInternalAllocationNotification | back to summary |
|---|---|
| pack-priv VkInternalAllocationNotification(long functionPointer) | |
| create | back to summary |
|---|---|
| public static VkInternalAllocationNotification create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static VkInternalAllocationNotification create(VkInternalAllocationNotificationI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static VkInternalAllocationNotification createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final VkInternalAllocationNotificationI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the value specified for pUserData, long VkAllocationCallbacks::pUserData in the allocator specified by the application.the requested size of an allocation. size, int a allocationType, int VkInternalAllocationType value specifying the requested type of an allocation.a allocationScope)VkSystemAllocationScope value specifying the allocation scope of the lifetime of the allocation, as described here.Implements org. |
| delegate | back to summary |
|---|---|
| private final VkInternalAllocationNotificationI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, VkInternalAllocationNotificationI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long pUserData, long size, int allocationType, int allocationScope) Implements org. Doc from org. Application-defined memory allocation notification function.
| |