Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMemory
Description
This function sets AllocFunction and FreeFunction and returns true, or just returns false. These functions are the platform dependant low low low level functions that LLM uses to allocate memory.
| Name | GetLLMAllocFunctions |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h |
| Include Path | #include "GenericPlatform/GenericPlatformMemory.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMemory.cpp |
static bool GetLLMAllocFunctions
(
void *(*&)(size_t) OutAllocFunction,
void(*&)(void *, size_t) OutFreeFunction,
int32 & OutAlignment
)