The type of pfnInternalFree is:
typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)(
void* pUserData,
size_t size,
VkInternalAllocationType allocationType,
VkSystemAllocationScope allocationScope);
This is a purely informational callback.
| Modifier and Type | Method and Description |
|---|---|
| public default void | callback(long
a pointer to the memory used for the function's return value.
ret, long If the function is declared as returning Otherwise, the callback must fill the object to which this points, following the same special promotion behavior as
a vector of pointers to memory holding the arguments to the function args)Implements org. |
| public default FFICIF | getCallInterface()
Implements org. |
| 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.Application-defined memory free notification function. |
| CIF | back to summary |
|---|---|
| public static final FFICIF CIF | |
| callback | back to summary |
|---|---|
| public default void callback(long ret, long args) Implements org. Doc from org. The Java method that will be called from native code when the native callback function is invoked.
| |
| getCallInterface | back to summary |
|---|---|
| public default FFICIF getCallInterface() Implements org. Doc from org. Returns the libffi Call Interface for this callback function. [INTERNAL API] | |
| invoke | back to summary |
|---|---|
| public void invoke(long pUserData, long size, int allocationType, int allocationScope) Application-defined memory free notification function.
| |