AllocationHints

Some allocators can be given hints to treat allocations differently depending on how the memory is used, it's lifetime etc.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "HAL/UnrealMemory.h"

Syntax

enum AllocationHints
{
    None         = -1,
    Default,
    Temporary,
    SmallPool,
    Max,
}

Values

Name

Description

None

Default

Temporary

SmallPool

Max

Remarks

Some allocators can be given hints to treat allocations differently depending on how the memory is used, it's lifetime etc.

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