FGenericPlatformMemory::GetLLMAllocFunctions

This function sets AllocFunction and FreeFunction and returns true, or just returns false.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h

Include

#include "GenericPlatform/GenericPlatformMemory.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMemory.cpp

Syntax

static bool GetLLMAllocFunctions
(
    void *(*&)(size_t) OutAllocFunction,
    void *, size_t) OutFreeFunction,
    int32 & OutAlignment
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss