FMemory::ExplicitInit

Set global allocator instead of creating it lazily on first allocation.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h

Include

#include "HAL/UnrealMemory.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/UnrealMemory.cpp

Syntax

static void ExplicitInit
(
    FMalloc & Allocator
)

Remarks

Set global allocator instead of creating it lazily on first allocation. Must only be called once and only if lazy init is disabled via a macro.

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