The type of pfnFree is:
typedef void (VKAPI_PTR *PFN_vkFreeFunction)(
void* pUserData,
void* pMemory);
pMemory may be NULL, which the callback must handle safely. If pMemory is non-NULL, it must be a pointer previously allocated by pfnAllocation or pfnReallocation. The application should free this memory.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static VkFreeFunction | Returns: the newVkFreeFunctionCreates a |
| public static VkFreeFunction | create(VkFreeFunctionI instance)
Creates a |
| public static VkFreeFunction |
| VkFreeFunction | back to summary |
|---|---|
| protected VkFreeFunction() | |
| VkFreeFunction | back to summary |
|---|---|
| pack-priv VkFreeFunction(long functionPointer) | |
| create | back to summary |
|---|---|
| public static VkFreeFunction create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static VkFreeFunction create(VkFreeFunctionI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static VkFreeFunction createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final VkFreeFunctionI |
| 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 allocation to be freed. pMemory)Implements org. |
| delegate | back to summary |
|---|---|
| private final VkFreeFunctionI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, VkFreeFunctionI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long pUserData, long pMemory) Implements org. Doc from org. Application-defined memory free function.
| |