Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Unix > API/Runtime/Core/Unix/FUnixPlatformMemory
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformMemory.h |
Include | #include "Unix/UnixPlatformMemory.h" |
Source | /Engine/Source/Runtime/Core/Private/Unix/UnixPlatformMemory.cpp |
static bool GetLLMAllocFunctions
&40;
void &42;(&42;&)(size_t) OutAllocFunction,
void(&42;&)(void &42;, size_t) OutFreeFunction,
int32 & OutAlignment
&41;
Remarks
LLM uses these low level functions (LLMAlloc and LLMFree) to allocate memory. It grabs the function pointers by calling FPlatformMemory::GetLLMAllocFunctions. If these functions are not implemented GetLLMAllocFunctions should return false and LLM will be disabled.